mirror of https://github.com/axmolengine/axmol.git
[iphone]fixed error: the use of rm is incorrect
This commit is contained in:
parent
e399a77369
commit
8d278a5f93
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue