diff options
author | William A. Kennington III <william@wkennington.com> | 2015-09-15 12:16:44 -0700 |
---|---|---|
committer | William A. Kennington III <william@wkennington.com> | 2015-09-15 12:16:49 -0700 |
commit | 773b4deb7c5c6300f23f2ec2db4751e40f6520fa (patch) | |
tree | 45e1caaa95b76b129efe46e8c048be03c91f3baf /pkgs/development/python-modules | |
parent | 316a09377d12b29764b5daf51e0df8986a5fe175 (diff) | |
parent | a6f6c0eeeb45ad122022366724e396955f0f775b (diff) | |
download | nixlib-773b4deb7c5c6300f23f2ec2db4751e40f6520fa.tar nixlib-773b4deb7c5c6300f23f2ec2db4751e40f6520fa.tar.gz nixlib-773b4deb7c5c6300f23f2ec2db4751e40f6520fa.tar.bz2 nixlib-773b4deb7c5c6300f23f2ec2db4751e40f6520fa.tar.lz nixlib-773b4deb7c5c6300f23f2ec2db4751e40f6520fa.tar.xz nixlib-773b4deb7c5c6300f23f2ec2db4751e40f6520fa.tar.zst nixlib-773b4deb7c5c6300f23f2ec2db4751e40f6520fa.zip |
Merge commit 'a6f6c0e' into master.upstream
This is a partial merge of staging where we have up to date binaries for all packages.
Diffstat (limited to 'pkgs/development/python-modules')
-rw-r--r-- | pkgs/development/python-modules/generic/wrap.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/development/python-modules/generic/wrap.sh b/pkgs/development/python-modules/generic/wrap.sh index 6ad603e01384..557f79f865ec 100644 --- a/pkgs/development/python-modules/generic/wrap.sh +++ b/pkgs/development/python-modules/generic/wrap.sh @@ -26,7 +26,7 @@ wrapPythonProgramsIn() { done # Find all regular files in the output directory that are executable. - for f in $(find "$dir" -type f -perm /0100); do + for f in $(find "$dir" -type f -perm -0100); do # Rewrite "#! .../env python" to "#! /nix/store/.../python". if head -n1 "$f" | grep -q '#!.*/env.*\(python\|pypy\)'; then sed -i "$f" -e "1 s^.*/env[ ]*\(python\|pypy\)^#! $python^" |