correct sync script
authorymh <ymh.work@gmail.com>
Fri, 23 Apr 2010 18:58:14 +0200
changeset 80 f4f2cc82c9a4
parent 79 03f5524aa3c0
child 81 e63b40348c2c
correct sync script
build/sbin/sync_mosatags
--- a/build/sbin/sync_mosatags	Fri Apr 23 18:53:02 2010 +0200
+++ b/build/sbin/sync_mosatags	Fri Apr 23 18:58:14 2010 +0200
@@ -91,7 +91,7 @@
 cleanup() {
     echo "===============";
     echo "cleanup";
-    if [ -d "$export_path" && "$export_path" != "$clone_path" ]; then
+    if [ -d "$export_path" -a "$export_path" != "$clone_path" ]; then
         echo "Delete export_path : $export_path"
         rm -fr $export_path;
         echo "ok";