now all are updated to recurse a bit, and go to maxdepth of 4.
[feisty_meow.git] / scripts / rev_control / rev_update.sh
index 3bf9213246c79a13fc1cb455c9a63c9c9459aa20..7d01dcae709576b57c8d3c33c1ab74b6266e4e20 100644 (file)
@@ -11,15 +11,7 @@ fi
 
 source "$FEISTY_MEOW_SCRIPTS/rev_control/version_control.sh"
 
-pushd "$dir" &>/dev/null
+tempfile=$(generate_rev_ctrl_filelist)
 
-for i in * ; do
-  if [ -d "$i" ]; then
-    echo "[$i]"
-    do_update "$i"
-    echo "======="
-  fi
-done
-
-popd &>/dev/null
+perform_action_on_file "$tempfile" do_update