CVS requirement forces a change in netbsd-cvs.sh

This commit is contained in:
Lionel Sambuc 2013-05-25 11:12:29 +02:00
parent 58d5f9a2a4
commit 91e1ba1b78

View File

@ -1,12 +1,13 @@
#!/bin/sh #!/bin/sh
# Invocation of this script : # Invocation of this script :
# $ ./netbsd-cvs.sh checkout -A -P -D "2012/10/17 12:00:00 UTC" src -d . # For a first checkout, supposing your are in the src directory :
# $ ROOT=/some/path ./netbsd-cvs.sh checkout -A -P -D "2012/10/17 12:00:00 UTC" src -d . # $ ./netbsd-cvs.sh checkout -A -P -D '2012/10/17 12:00:00 UTC' src
# $ NETBSD_SRC=/some/absolute/path ./netbsd-cvs.sh checkout -A -P -D "2012/10/17 12:00:00 UTC" src -d . #
# For updates (hypotesis, current directory is the git root directory
# $ ./netbsd-cvs.sh update -A -Pd -D "2012/10/18 12:00:00 UTC"
: ${ROOT=.} : ${NETBSD_SRC=..}
: ${NETBSD_SRC=${ROOT}/netbsd}
if [ "$#" -lt "1" ]; then if [ "$#" -lt "1" ]; then
echo "Wrong number of arguments." echo "Wrong number of arguments."