Browse Source

Update "update.sh" to run any available repo-specific "update.sh" scripts before generating README.md

Tianon Gravi 11 years ago
parent
commit
1820821a02
1 changed files with 3 additions and 0 deletions
  1. 3 0
      update.sh

+ 3 - 0
update.sh

@@ -10,6 +10,9 @@ fi
 repos=( "${repos[@]%/}" )
 
 for repo in "${repos[@]}"; do
+	if [ -x "$repo/update.sh" ]; then
+		( set -x; "$repo/update.sh" )
+	fi
 	case "$repo" in
 		perl)
 			gitRepo='https://github.com/Perl/docker-perl'