You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sling.apache.org by bd...@apache.org on 2017/09/26 15:32:29 UTC

sling-site git commit: Default BASE

Repository: sling-site
Updated Branches:
  refs/heads/master 9b614a9c6 -> 19b0d30d4


Default BASE


Project: http://git-wip-us.apache.org/repos/asf/sling-site/repo
Commit: http://git-wip-us.apache.org/repos/asf/sling-site/commit/19b0d30d
Tree: http://git-wip-us.apache.org/repos/asf/sling-site/tree/19b0d30d
Diff: http://git-wip-us.apache.org/repos/asf/sling-site/diff/19b0d30d

Branch: refs/heads/master
Commit: 19b0d30d48f8777de5c6a6c9bca52d4fd382ff59
Parents: 9b614a9
Author: Bertrand Delacretaz <bd...@apache.org>
Authored: Tue Sep 26 17:32:16 2017 +0200
Committer: Bertrand Delacretaz <bd...@apache.org>
Committed: Tue Sep 26 17:32:16 2017 +0200

----------------------------------------------------------------------
 ARCHIVE/conversion-scripts/open-all-pages.sh | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/sling-site/blob/19b0d30d/ARCHIVE/conversion-scripts/open-all-pages.sh
----------------------------------------------------------------------
diff --git a/ARCHIVE/conversion-scripts/open-all-pages.sh b/ARCHIVE/conversion-scripts/open-all-pages.sh
index 6b61c0a..7abbed3 100755
--- a/ARCHIVE/conversion-scripts/open-all-pages.sh
+++ b/ARCHIVE/conversion-scripts/open-all-pages.sh
@@ -1,6 +1,7 @@
 export SRC="src/main/jbake/content"
 export PAT=".*jbake.*content"
-export BASE="http://localhost:8820"
+export BASE=${BASE:-"http://localhost:8820"}
+echo "Using base URL $BASE"
 
 find $SRC -type f | sort | sed 's/\.md$/\.html/' | sed "s/${PAT}//" | while read f
 do