summaryrefslogtreecommitdiff
path: root/localikiwikicreatesite
diff options
context:
space:
mode:
authorJonas Smedegaard <dr@jones.dk>2008-02-11 17:53:14 +0000
committerJonas Smedegaard <dr@jones.dk>2008-02-11 17:53:14 +0000
commitc04e9121e8136fc68743b0fa15549c7557766167 (patch)
tree57d14fc6323dda296771dec4e353447332e36653 /localikiwikicreatesite
parentd253e220256f82f958cabbe58aaede0984a1d6fe (diff)
Single quote here documents to avoid shell expansion.
Diffstat (limited to 'localikiwikicreatesite')
-rwxr-xr-xlocalikiwikicreatesite4
1 files changed, 2 insertions, 2 deletions
diff --git a/localikiwikicreatesite b/localikiwikicreatesite
index 8a89afe..2907174 100755
--- a/localikiwikicreatesite
+++ b/localikiwikicreatesite
@@ -20,7 +20,7 @@ GIT_DIR=$DESTSRCDIR/backend.git git --bare init --shared
## Create initial content
mkdir -p $SRCDIR
-cat <<EOF >$SRCDIR/index.mdwn
+cat <<'EOF' >$SRCDIR/index.mdwn
Welcome to your new wiki.
All wikis are supposed to have a <a href="../sandbox/">SandBox</a>,
so this one does too.
@@ -72,7 +72,7 @@ perl -0 -pi -e '
(
cd $CFGDIR
git add ikiwiki.setup
-cat <<EOF >$CFGDIR/Makefile
+cat <<'EOF' >$CFGDIR/Makefile
#underlays = basewiki smiley templates
underlays = templates
#locale = danish