Current location

narf Source control manager Git

summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOlivier Mehani <shtrom@ssji.net>2021-09-24 02:28:01 +0200
committerOlivier Mehani <shtrom@ssji.net>2021-09-24 02:28:01 +0200
commitcb799819f692ec0007c0e4a300826559c3dff8f5 (patch)
treee2e573f50e3bd0b0626504565c34dd986c08bc87
parentc32ced5c94fe62e56c4640d3f57211d1806792e6 (diff)
[openbsh/updateport] Explicitely pass CVSROOT with -d
Signed-off-by: Olivier Mehani <shtrom@ssji.net>
-rwxr-xr-xopenbsd/updateports.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/openbsd/updateports.sh b/openbsd/updateports.sh
index 591976b..51420cc 100755
--- a/openbsd/updateports.sh
+++ b/openbsd/updateports.sh
@@ -4,8 +4,8 @@ export CVSROOT=anoncvs@anoncvs.fr.openbsd.org:/cvs
VERSION=`uname -r`
if [ -d /usr/ports ]; then
cd /usr/ports
- cvs -z9 up -rOPENBSD_${VERSION/./_}
+ cvs -t -d ${CVSROOT} -z9 up -rOPENBSD_${VERSION/./_}
else
cd /usr
- cvs -z9 get -rOPENBSD_${VERSION/./_} -P ports
+ cvs -t -d ${CVSROOT} -z9 get -rOPENBSD_${VERSION/./_} -P ports
fi