diff options
author | Yury G. Kudryashov <urkud.urkud@gmail.com> | 2008-02-10 17:37:38 +0000 |
---|---|---|
committer | Yury G. Kudryashov <urkud.urkud@gmail.com> | 2008-02-10 17:37:38 +0000 |
commit | 7b3c313ec63695619be61bb5258c167491f6ce2f (patch) | |
tree | cccae25f65a3a5b5c49afbe97ef1272f3c2e4b87 | |
parent | 6edb12e639a218754b0f14be93ee532da3c4eb1f (diff) | |
download | nixlib-7b3c313ec63695619be61bb5258c167491f6ce2f.tar nixlib-7b3c313ec63695619be61bb5258c167491f6ce2f.tar.gz nixlib-7b3c313ec63695619be61bb5258c167491f6ce2f.tar.bz2 nixlib-7b3c313ec63695619be61bb5258c167491f6ce2f.tar.lz nixlib-7b3c313ec63695619be61bb5258c167491f6ce2f.tar.xz nixlib-7b3c313ec63695619be61bb5258c167491f6ce2f.tar.zst nixlib-7b3c313ec63695619be61bb5258c167491f6ce2f.zip |
Fixed shebangfix
svn path=/nixpkgs/branches/stdenv-updates/; revision=10581
-rw-r--r-- | pkgs/tools/misc/shebangfix/default.nix | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/pkgs/tools/misc/shebangfix/default.nix b/pkgs/tools/misc/shebangfix/default.nix index f5ed86e99f7d..ca4a0004d19b 100644 --- a/pkgs/tools/misc/shebangfix/default.nix +++ b/pkgs/tools/misc/shebangfix/default.nix @@ -8,13 +8,14 @@ stdenv.mkDerivation { phases = "buildPhase"; - buildPhase = " - ensureDir \$out/bin - s=\$out/bin/shebangfix - cp \$file \$s - chmod +x \$s - perl \$s \$s - "; + buildPhase = '' + ensureDir $out/bin + s=$out/bin/shebangfix + cp $file $s + chmod +wx $s + ls -l $s + perl $s $s + ''; meta = { description = "replaces the #!executable with $#!correctpath/executable "; }; } |