actually was in wrong folder still
[feisty_meow.git] / scripts / site_avenger / revamp_cakelampvm.sh
index fb3013f445b44e2a17857131b8c84f5fc1646583..77c4d91255dee82abdfac8254003bee7485b083d 100644 (file)
@@ -134,16 +134,14 @@ echo Doing some git repository maintenance in fred account.
 pushd /home/fred
 test_or_die "changing dir to fred's home; what have you done with fred?"
 
-pushd apps/mapsdemo/public
+pushd apps/mapsdemo/avenger5
 test_or_die "changing dir to mapsdemo app"
 
 # gets rid of the old version of configs.
 git stash 
-if [ $? -eq 0 ]; then
-  # we actually stashed something, so deal with that.
-  git stash drop 
-  test_or_die "dropping mapsdemo stash"
-fi
+test_or_die "stashing unwanted mapsdemo changes"
+git stash drop 
+# intentionally ignore error, if there was nothing to drop.
 
 popd