aboutsummaryrefslogtreecommitdiff
path: root/www/publish.sh
diff options
context:
space:
mode:
authorAlyssa Rosenzweig <alyssa@rosenzweig.io>2017-03-20 21:02:55 -0700
committerAlyssa Rosenzweig <alyssa@rosenzweig.io>2017-03-20 21:02:55 -0700
commitacf62e1b1d4148cebe12ead2349bce4e56cc682f (patch)
treed5c7bc491311ccee90934380b3fd371fd271b3a8 /www/publish.sh
parent14437fe0780944e9a2cc83ec07471d0ffa0316c9 (diff)
downloadlibrebootfr-acf62e1b1d4148cebe12ead2349bce4e56cc682f.tar.gz
librebootfr-acf62e1b1d4148cebe12ead2349bce4e56cc682f.zip
adapt publish to new dir structure
Diffstat (limited to 'www/publish.sh')
-rwxr-xr-xwww/publish.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/www/publish.sh b/www/publish.sh
index ed9b9bee..651b8cdf 100755
--- a/www/publish.sh
+++ b/www/publish.sh
@@ -7,7 +7,7 @@ FILE=${1%.md}
head -n 4 $FILE.md > temp.md
# if not homepage, add a link back to the homepage
-if [ "${FILE}" != "index" ]; then
+if [ "${FILE}" != "./index" ]; then
printf "[Go back to homepage](index.md)\n\n" >> temp.md
fi