diff options
author | Michael Haubenwallner <haubi@gentoo.org> | 2013-11-10 11:05:02 +0100 |
---|---|---|
committer | Fabian Groffen <grobian@gentoo.org> | 2013-11-10 11:05:02 +0100 |
commit | c5006827b02f4e4a3a78ba78a985c3e6592c24a7 (patch) | |
tree | 54a56c16c4d27a5f7dbe106c14e9a1c27c390952 /misc | |
parent | helper-functions: fix multiprocessing not to assume bi-directional pipe (diff) | |
download | portage-c5006827b02f4e4a3a78ba78a985c3e6592c24a7.tar.gz portage-c5006827b02f4e4a3a78ba78a985c3e6592c24a7.tar.bz2 portage-c5006827b02f4e4a3a78ba78a985c3e6592c24a7.zip |
fix shebangs
Hi Fabian,
when /bin/bash is some bash-3.x, things break miserably:
/tools/gentoo/buildslave/sauxz3-f_pfx-10.0/build/gentoo-prefix/usr/lib/portage/bin/eapi.sh: line 8: syntax error in conditional expression: unexpected token `('
/tools/gentoo/buildslave/sauxz3-f_pfx-10.0/build/gentoo-prefix/usr/lib/portage/bin/eapi.sh: line 8: syntax error near `^(0'
/tools/gentoo/buildslave/sauxz3-f_pfx-10.0/build/gentoo-prefix/usr/lib/portage/bin/eapi.sh: line 8: ` [[ ! ${1-${EAPI}} =~ ^(0|1|2|3)$ ]]'
/tools/gentoo/buildslave/sauxz3-f_pfx-10.0/build/gentoo-prefix/usr/lib/portage/bin/ebuild-helpers/keepdir: line 7: ___eapi_has_prefix_variables: command not found
There are still some scripts in 2.2.7 that need to get the shebangs fixed:
$ git grep '#!/'
Thanks!
/haubi/
Diffstat (limited to 'misc')
-rwxr-xr-x | misc/emerge-delta-webrsync | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/misc/emerge-delta-webrsync b/misc/emerge-delta-webrsync index b16982bb7..66e9275b6 100755 --- a/misc/emerge-delta-webrsync +++ b/misc/emerge-delta-webrsync @@ -1,4 +1,4 @@ -#!/bin/bash +#!@PORTAGE_BASH@ # Copyright 1999-2013 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # Author: Brian Harring <ferringb@gentoo.org>, karltk@gentoo.org originally. |