summaryrefslogtreecommitdiffstats
path: root/.root/update.sh
diff options
context:
space:
mode:
Diffstat (limited to '.root/update.sh')
-rwxr-xr-x.root/update.sh11
1 files changed, 11 insertions, 0 deletions
diff --git a/.root/update.sh b/.root/update.sh
new file mode 100755
index 0000000..4acca3f
--- /dev/null
+++ b/.root/update.sh
@@ -0,0 +1,11 @@
+#!/bin/sh
+
+function cp_into() {
+ for i in $(cat ${0%/*}/tracked); do
+ mkdir -p .root/${i%/*}
+ echo copying $i to .root/$i
+ cp $i .root/${i};
+ done
+}
+
+cp_into