@@ -0,0 +1,10 @@
+#!/bin/bash
+set -e
+
+for file in */.gitsubtree; do
+ app="$(dirname "${file}")"
+ echo -e "\n\nUpdating ${app}..."
+ pushd "${app}" > /dev/null
+ git update-app
+ popd > /dev/null
+done
@@ -1,4 +1,4 @@
[alias]
add-app = "!bash .utils/add-app.sh"
update-app = "!bash .utils/update-app.sh"
- bulk-update-apps = "!f() { set -e; find . -depth -maxdepth 2 -name .gitsubtree \\( -execdir git update-app \\; -o -quit \\); }; f"
+ bulk-update-apps = "!bash .utils/bulk-update-apps.sh"