aboutsummaryrefslogtreecommitdiff
path: root/www/publish.sh
diff options
context:
space:
mode:
authorAlyssa Rosenzweig <alyssa@rosenzweig.io>2017-04-07 22:53:41 +0000
committerGogs <gogitservice@gmail.com>2017-04-07 22:53:41 +0000
commitf2d7029bd06abe6d02b4ebd8ccf38c3a6d769dc1 (patch)
tree28543519f14ca15b1472c43242f9f817f69c6688 /www/publish.sh
parente7cac0a8f9bf2a64ad2de784675775606549d16e (diff)
parent57296f8e33732f62edc35bcd219eaa3e5202524b (diff)
downloadlibrebootfr-f2d7029bd06abe6d02b4ebd8ccf38c3a6d769dc1.tar.gz
librebootfr-f2d7029bd06abe6d02b4ebd8ccf38c3a6d769dc1.zip
Merge branch 'noindex' of libreboot/libreboot into master
Diffstat (limited to 'www/publish.sh')
-rwxr-xr-xwww/publish.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/www/publish.sh b/www/publish.sh
index 90d52288..e79c5adf 100755
--- a/www/publish.sh
+++ b/www/publish.sh
@@ -27,9 +27,9 @@ cat $1 > temp.md
if [ "${FILE}" != "./index" ]; then
if [[ $FILE == *index ]]
then
- DEST=".."
+ DEST="../"
else
- DEST="index.html"
+ DEST="./"
fi
RETURN="<a href='$DEST'>Back to previous index</a>"