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 | 34917120550cd00c60d1e5528e249dafb2a9487a (patch) | |
tree | 5106be0accc27e8a35c9043a400d116fde73c0d8 /mk/bulk/mksandbox | |
parent | d5d8d6754736c1566d36548d7079e64a10319554 (diff) | |
download | pkgsrc-34917120550cd00c60d1e5528e249dafb2a9487a.tar.gz |
Avoid hardcoding sandbox location in a shell script.
Diffstat (limited to 'mk/bulk/mksandbox')
-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 |