Commits

camlspotter  committed 2eb560f

update

  • Participants
  • Parent commits 6ee53d0

Comments (0)

Files changed (1)

File copy-OMyMakefile

 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