Update tools/populate-project.sh

Don't remove the previous directory the first time.
This commit is contained in:
Mathieu Virbel 2012-07-25 15:07:42 +03:00
parent 0291b0867f
commit a6b5859473

View file

@ -25,7 +25,9 @@ echo "-> Copy $SRCDIR to $APPDIR/YourApp"
YOURAPPDIR=$APPDIR/YourApp
echo "-> Remove any previous YourApp version"
rm -r $YOURAPPDIR
if [ -e $YOURAPPDIR ]; then
rm -r $YOURAPPDIR
fi
echo "-> Copy the new source"
try cp -a $SRCDIR $YOURAPPDIR