diff options
Diffstat (limited to 'mirror')
-rwxr-xr-x | mirror | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -37,7 +37,7 @@ on) if [ -z "$2" ]; then echo "Missing mirror path" exit 1 fi - for fic in */?/*/mirror */{?,??}/*/*/mirror + for fic in */{?,??}/*/*/mirror do if grep -q "^## .*$2" $fic then @@ -51,7 +51,7 @@ off) if [ -z "$2" ]; then echo "Missing mirror path" exit 1 fi - for fic in */?/*/mirror */{?,??}/*/*/mirror + for fic in */{?,??}/*/*/mirror do if grep -q "^http.*$2" $fic then @@ -84,7 +84,7 @@ status) if [ -z "$2" ]; then https) echo "Generating https mirror list" - for i in enterprise/?/*/mirror */{?,??}/*/*/mirror + for i in */{?,??}/*/*/mirror do j=$(dirname $i)/httpsmirror grep '^https' $i >$j |