# HG changeset patch # User ymh # Date 1272041894 -7200 # Node ID f4f2cc82c9a4018fc0f292cab6b02a066809ee52 # Parent 03f5524aa3c0ceaf016b182eca9f8e00feec6768 correct sync script diff -r 03f5524aa3c0 -r f4f2cc82c9a4 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";