diff options
author | Vladimír Čunát <vcunat@gmail.com> | 2015-07-30 10:30:17 +0200 |
---|---|---|
committer | Vladimír Čunát <vcunat@gmail.com> | 2015-07-30 10:30:17 +0200 |
commit | 862900e42e00dbc83215def6df1091f5129a8930 (patch) | |
tree | 794a76f9270eb50628f4f92e2410d854456570ca /pkgs/development/python-modules | |
parent | fd9e9201d698c2cb9d254df17ce79d7382fc5a83 (diff) | |
download | nixlib-862900e42e00dbc83215def6df1091f5129a8930.tar nixlib-862900e42e00dbc83215def6df1091f5129a8930.tar.gz nixlib-862900e42e00dbc83215def6df1091f5129a8930.tar.bz2 nixlib-862900e42e00dbc83215def6df1091f5129a8930.tar.lz nixlib-862900e42e00dbc83215def6df1091f5129a8930.tar.xz nixlib-862900e42e00dbc83215def6df1091f5129a8930.tar.zst nixlib-862900e42e00dbc83215def6df1091f5129a8930.zip |
mass-replace deprecated usage of find -perm (Fixes #9044)
sed 's|-perm +0|-perm /0|g' It's a mass-rebuild due to usage in stdenv's default setup hooks.
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 b6d2a66afff6..6ad603e01384 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^" |