Commits

camlspotter committed 2eb560f

update

Comments (0)

Files changed (1)

 do
   dir=`dirname $i`
   echo $dir
-  cp OMyMakefile $dir
-  (cd $dir; hg commit -m 'auto update of OMyMakefile' OMyMakefile)
+  if [ `hg branch` = "default" ]; then
+    cp OMyMakefile $dir
+    (cd $dir; hg commit -m 'auto update of OMyMakefile' OMyMakefile)
+  else
+    echo $dir is not in default
+  fi
 done