Fixed issue of bad directory location 19/3019/1
authorAshlee Young <ashlee@wildernessvoice.com>
Wed, 4 Nov 2015 01:07:03 +0000 (17:07 -0800)
committerAshlee Young <ashlee@wildernessvoice.com>
Wed, 4 Nov 2015 01:07:03 +0000 (17:07 -0800)
Change-Id: I898b9efa72e97095c18dd4265a5d62ea655f8e67
Signed-off-by: Ashlee Young <ashlee@wildernessvoice.com>
update_OPNFV-mirror.sh

index 387bea6..5f4e756 100755 (executable)
@@ -69,6 +69,7 @@ displayVersion()
 setupRepos()
 {
     # Check for OPNFV Gerrit Repo
+    cd $DEVROOT
     if [ ! -d $OPNFV_REPO ]; then
            printf "Perhaps you've named it differently, but we don't see $OPNFV_REPO.\n"
            if ask "Would you like us to checkout ONOSFW from Gerrit?"; then
@@ -82,6 +83,7 @@ setupRepos()
     fi
     
     # Check for ONOSFW Mirror Repo
+    cd $DEVROOT
     if [ ! -d $GITHUB_REPO ]; then
         printf "Perhaps you've named it differently, but we don't see $GITHUB_REPO.\n"
         if ask "Would you like us to checkout ONOSFW from Github?"; then