Permalink
Browse files

fix

  • Loading branch information...
1 parent 20f685b commit 509621a5a57537b0b12527046dea02414685daf2 @fabiocicerchia committed Feb 22, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 restore.sh
View
@@ -37,7 +37,7 @@ echo "--------------------------------------------------------------------------
export BASEDIR=$PWD
export HOMEDIR=$HOME
export ENVDIR=$1
-if [ ! -d "$BASEDIR/configurations/$ENVDIR" ]; then
+if [ ! -f "$BASEDIR/configurations/$ENVDIR" ]; then
echo "ERROR: Invalid environment directory"
exit 1
fi

0 comments on commit 509621a

Please sign in to comment.