diff options
author | hubertf <hubertf@pkgsrc.org> | 2000-09-29 04:27:42 +0000 |
---|---|---|
committer | hubertf <hubertf@pkgsrc.org> | 2000-09-29 04:27:42 +0000 |
commit | cbff95cff410cecba07a2ea3e9f5d851229f7881 (patch) | |
tree | 0f9f2f125ab7f84fd029d570b7be6107ecc9de15 /mk/bulk/pre-build | |
parent | e652f819d964845acf618fe2dd28922ad3e7856a (diff) | |
download | pkgsrc-cbff95cff410cecba07a2ea3e9f5d851229f7881.tar.gz |
Install cvs and ssh and do 'cvs update' only if CVS_USER is set in build.conf.
(Set to "" to prevent update e.g. on sparc64 where we don't have a working
ssh yet)
Diffstat (limited to 'mk/bulk/pre-build')
-rw-r--r-- | mk/bulk/pre-build | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/mk/bulk/pre-build b/mk/bulk/pre-build index fe0e8a5989f..554344da38b 100644 --- a/mk/bulk/pre-build +++ b/mk/bulk/pre-build @@ -1,5 +1,5 @@ #!/bin/sh -# $NetBSD: pre-build,v 1.3 2000/09/24 16:22:08 hubertf Exp $ +# $NetBSD: pre-build,v 1.4 2000/09/29 04:27:42 hubertf Exp $ # # Clean up system to be ready for bulk pkg build # @@ -19,12 +19,14 @@ fi # # Install cvs package and do a cvs update here # -echo Installing required pkgs for CVS update -( cd ${USR_PKGSRC}/devel/cvs ; make bulk-install ) -( cd ${USR_PKGSRC}/security/ssh ; make bulk-install ) -echo Performing CVS update - this will take some time -su - ${CVS_USER} -c 'stty sane ; cd '${USR_PKGSRC}' ; cvs -q update -Pd' -echo CVS update done. +if [ "$CVS_USER" != "" ]; then + echo Installing required pkgs for CVS update + ( cd ${USR_PKGSRC}/devel/cvs ; make bulk-install ) + ( cd ${USR_PKGSRC}/security/ssh ; make bulk-install ) + echo Performing CVS update - this will take some time + su - ${CVS_USER} -c 'stty sane ; cd '${USR_PKGSRC}' ; cvs -q update -Pd' + echo CVS update done. +fi # # Remove old/broken distfiles and binary packages |