Index: modules/filtermaster/files/update_repos.sh |
=================================================================== |
new file mode 100644 |
--- /dev/null |
+++ b/modules/filtermaster/files/update_repos.sh |
@@ -0,0 +1,11 @@ |
+#!/bin/bash |
+ |
+cd /home/rsync/subscription/ |
+ |
+for i in $(ls) |
+do |
+ cd $i |
+ hg pull && hg update |
+ cd - |
Wladimir Palant
2013/11/12 13:04:03
These four commands can be replaced by one:
hg pu
christian
2013/11/12 16:06:06
Done.
|
+done |
Wladimir Palant
2013/11/12 13:04:03
I thought by "batch script" you actually meant Pyt
christian
2013/11/12 16:06:06
I think i sad "bash script" but sometimes hard und
|
+ |