From d23b51f1ae6ba27e666bfb637625078957f423d5 Mon Sep 17 00:00:00 2001 From: wiz Date: Sun, 20 Sep 2009 10:24:00 +0000 Subject: Avoid hardcoding sandbox location in a shell script. --- mk/bulk/mksandbox | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'mk/bulk') 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 -- cgit v1.2.3