From 5f6cd4615483779d2a82aa30467b5600b547c55e Mon Sep 17 00:00:00 2001 From: A Holt Date: Fri, 13 Oct 2017 11:33:09 -0400 Subject: [PATCH] "rm -rf info/html" to permit "git pull" on earlier IIAB's --- roles/httpd/templates/refresh-wiki-docs.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/roles/httpd/templates/refresh-wiki-docs.sh b/roles/httpd/templates/refresh-wiki-docs.sh index ed72a5ee1..e5947988c 100755 --- a/roles/httpd/templates/refresh-wiki-docs.sh +++ b/roles/httpd/templates/refresh-wiki-docs.sh @@ -8,6 +8,9 @@ INPUT=/tmp/iiab-wiki OUTPUT=/tmp/iiab-wiki.out DESTPATH=/library/www/html/info +# for-loop at bottom chokes on directories: this workaround permits "git pull" on IIAB systems prior to 2017-10-13 +rm -rf $DESTPATH/html + rm -rf $INPUT rm -rf $OUTPUT mkdir -p $INPUT