Update tools/populate-project.sh
Don't remove the previous directory the first time.
This commit is contained in:
parent
0291b0867f
commit
a6b5859473
1 changed files with 3 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue