diff options
author | wiz <wiz> | 2009-09-20 10:24:00 +0000 |
---|---|---|
committer | wiz <wiz> | 2009-09-20 10:24:00 +0000 |
commit | a10e735b8ced7ed8a49e4d624fe78e3b15b53285 (patch) | |
tree | 5106be0accc27e8a35c9043a400d116fde73c0d8 /mk | |
parent | 3fde617f3493ee435093bc56c4e3f05779eac84b (diff) | |
download | pkgsrc-a10e735b8ced7ed8a49e4d624fe78e3b15b53285.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 |