[iphone]fixed error: the use of rm is incorrect

This commit is contained in:
minggo 2011-01-18 15:20:29 +08:00
parent e399a77369
commit 8d278a5f93
1 changed files with 1 additions and 1 deletions

View File

@ -58,7 +58,7 @@ check_dst_dir(){
if [[ -d $DST_DIR ]]; then if [[ -d $DST_DIR ]]; then
if [[ $force ]]; then if [[ $force ]]; then
echo "removing old libraries: ${DST_DIR}" echo "removing old libraries: ${DST_DIR}"
rm -rf $DST_DIR rm -rf "${DST_DIR}"
else else
echo "templates already installed. To force a re-install use the '-f' parameter" echo "templates already installed. To force a re-install use the '-f' parameter"
exit 1 exit 1