diff options
author | wiz <wiz@pkgsrc.org> | 2009-09-20 10:24:00 +0000 |
---|---|---|
committer | wiz <wiz@pkgsrc.org> | 2009-09-20 10:24:00 +0000 |
commit | d23b51f1ae6ba27e666bfb637625078957f423d5 (patch) | |
tree | 5106be0accc27e8a35c9043a400d116fde73c0d8 /mk | |
parent | b02491443bbe3effb4c3422f6ccc3d5b0917b888 (diff) | |
download | pkgsrc-d23b51f1ae6ba27e666bfb637625078957f423d5.tar.gz |
Avoid hardcoding sandbox location in a shell script.
Diffstat (limited to 'mk')
-rwxr-xr-x | mk/bulk/mksandbox | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mk/bulk/mksandbox b/mk/bulk/mksandbox index 6d674867dfa..28210495884 100755 --- a/mk/bulk/mksandbox +++ b/mk/bulk/mksandbox @@ -1,6 +1,6 @@ #! /bin/sh -# $NetBSD: mksandbox,v 1.51 2009/09/06 19:43:18 wiz Exp $ +# $NetBSD: mksandbox,v 1.52 2009/09/20 10:24:00 wiz Exp $ # # # Copyright (c) 2002 Alistair G. Crooks. All rights reserved. @@ -360,7 +360,7 @@ case x\$1 in x) rootshell=/bin/ksh ;; *) rootshell="\$2" ;; esac - script="$sandbox/tmp/script.\$\$" + script="\$sandbox/tmp/script.\$\$" echo "#!/bin/sh" > \$script echo "ENV=/etc/shrc \$rootshell" >> \$script chmod +x \$script |