diff --git a/sys/conf/newvers.sh b/sys/conf/newvers.sh index c6edddcef4b1..93b44f7e561e 100644 --- a/sys/conf/newvers.sh +++ b/sys/conf/newvers.sh @@ -62,7 +62,7 @@ findvcs() savedir=$(pwd) cd ${SYSDIR}/.. while [ $(pwd) != "/" ]; do - if [ -d "./$1" ]; then + if [ -e "./$1" ]; then VCSDIR=$(pwd)"/$1" cd ${savedir} return 0