summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authoragc <agc>2003-12-07 11:43:22 +0000
committeragc <agc>2003-12-07 11:43:22 +0000
commit7a18c6e214925e1dea1c37eb04826302009cbf0e (patch)
tree5d88629a43d4601273aece14b67a83e69784893a /mk
parentb9c6ab3df32d1184ee4a2787d581532d5ce03a8e (diff)
downloadpkgsrc-7a18c6e214925e1dea1c37eb04826302009cbf0e.tar.gz
Make the cvs update work for all shells, not just csh.
Diffstat (limited to 'mk')
-rw-r--r--mk/bulk/pre-build4
1 files changed, 2 insertions, 2 deletions
diff --git a/mk/bulk/pre-build b/mk/bulk/pre-build
index 019ea2b0b6a..4153aa0bfad 100644
--- a/mk/bulk/pre-build
+++ b/mk/bulk/pre-build
@@ -1,5 +1,5 @@
#!/bin/sh
-# $NetBSD: pre-build,v 1.32 2003/11/28 22:46:48 hubertf Exp $
+# $NetBSD: pre-build,v 1.33 2003/12/07 11:43:22 agc Exp $
#
# Clean up system to be ready for bulk pkg build
#
@@ -148,7 +148,7 @@ if [ "$CVS_USER" != "" ]; then
( cd ${USR_PKGSRC}/security/ssh ; ${BMAKE} bulk-install )
fi
echo Performing CVS update - this will take some time
- su - ${CVS_USER} -c "stty sane ; setenv CVS_RSH ssh ; cd ${USR_PKGSRC} ; cvs -q update -Pd ${CVS_FLAGS} || exit 0"
+ su - ${CVS_USER} -c "stty sane ; cd ${USR_PKGSRC} ; env CVS_RSH=ssh cvs -q update -Pd ${CVS_FLAGS} || exit 0"
if [ $? != 0 ]
then
echo CVS update not successful, aborting.