Skip to content
Snippets Groups Projects
Commit ca6ca5e1 authored by Toke Eskildsen's avatar Toke Eskildsen
Browse files

Minor tweaks, mainly cosmetic

parent d6170cca
No related branches found
No related tags found
No related merge requests found
...@@ -83,9 +83,9 @@ if [ -e "quack.settings" ]; then ...@@ -83,9 +83,9 @@ if [ -e "quack.settings" ]; then
echo "Sourcing settings from quack.settings" echo "Sourcing settings from quack.settings"
source "quack.settings" source "quack.settings"
fi fi
PRESENTATION_SCRIPT="$ROOT/presentation.sh"
popd > /dev/null popd > /dev/null
PRESENTATION_SCRIPT="$ROOT/presentation.sh"
FOLDER_TEMPLATE="$ROOT/folder_template.html" FOLDER_TEMPLATE="$ROOT/folder_template.html"
IMAGE_TEMPLATE="$ROOT/image_template.html" IMAGE_TEMPLATE="$ROOT/image_template.html"
DRAGON="openseadragon.min.js" DRAGON="openseadragon.min.js"
...@@ -102,7 +102,7 @@ if [ "." == ".$SOURCE" ]; then ...@@ -102,7 +102,7 @@ if [ "." == ".$SOURCE" ]; then
echo "Error: Missing source" >&2 echo "Error: Missing source" >&2
echo "" echo ""
usage usage
exit exit 2
fi fi
pushd $SOURCE > /dev/null pushd $SOURCE > /dev/null
SOURCE_FULL=`pwd` SOURCE_FULL=`pwd`
...@@ -113,7 +113,7 @@ if [ "." == ".$DEST" ]; then ...@@ -113,7 +113,7 @@ if [ "." == ".$DEST" ]; then
echo "Error: Missing destination" >&2 echo "Error: Missing destination" >&2
echo "" echo ""
usage usage
exit exit 2
fi fi
if [ ! -f "$ROOT/$DRAGON" ]; then if [ ! -f "$ROOT/$DRAGON" ]; then
echo "The file $ROOT/$DRAGON does not exist" >&2 echo "The file $ROOT/$DRAGON does not exist" >&2
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment