pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/mk/bulk Avoid hardcoding sandbox location in a shell s...
details: https://anonhg.NetBSD.org/pkgsrc/rev/354acf58b4d5
branches: trunk
changeset: 399459:354acf58b4d5
user: wiz <wiz%pkgsrc.org@localhost>
date: Sun Sep 20 10:24:00 2009 +0000
description:
Avoid hardcoding sandbox location in a shell script.
diffstat:
mk/bulk/mksandbox | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (20 lines):
diff -r a694060652d0 -r 354acf58b4d5 mk/bulk/mksandbox
--- a/mk/bulk/mksandbox Sun Sep 20 10:04:13 2009 +0000
+++ b/mk/bulk/mksandbox Sun Sep 20 10:24:00 2009 +0000
@@ -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 @@
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
Home |
Main Index |
Thread Index |
Old Index