Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 911513
Collapse All | Expand All

(-)a/eclass/ruby-fakegem.eclass (-2 / +2 lines)
Lines 396-402 ruby_fakegem_binwrapper() { Link Here
396
396
397
		# Try to find out whether the package is going to install for
397
		# Try to find out whether the package is going to install for
398
		# one or multiple implementations; if we're installing for a
398
		# one or multiple implementations; if we're installing for a
399
		# *single* implementation, no need to use “/usr/bin/env ruby”
399
		# *single* implementation, no need to use “/usr/bin/ruby”
400
		# in the shebang, and we can actually avoid errors when
400
		# in the shebang, and we can actually avoid errors when
401
		# calling the script by default.
401
		# calling the script by default.
402
		local rubycmd=
402
		local rubycmd=
Lines 410-416 ruby_fakegem_binwrapper() { Link Here
410
				# if another implementation already arrived, then make
410
				# if another implementation already arrived, then make
411
				# it generic and break out of the loop. This ensures
411
				# it generic and break out of the loop. This ensures
412
				# that we do at most two iterations.
412
				# that we do at most two iterations.
413
				rubycmd="${EPREFIX}/usr/bin/env ruby"
413
				rubycmd="${EPREFIX}/usr/bin/ruby"
414
				break
414
				break
415
			fi
415
			fi
416
		done
416
		done

Return to bug 911513