Skip to content

Commit

Permalink
Update tools/populate-project.sh
Browse files Browse the repository at this point in the history
Don't remove the previous directory the first time.
  • Loading branch information
tito committed Jul 25, 2012
1 parent 0291b08 commit a6b5859
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion tools/populate-project.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit a6b5859

Please sign in to comment.