Tidy
This commit is contained in:
parent
77c7315b0b
commit
6380ce9178
@ -4,6 +4,9 @@
|
||||
SCRIPT_DIR=$(dirname "$0")
|
||||
TEMPLATE="$1"
|
||||
|
||||
# make sure TEMPLATE doesn't end with a /
|
||||
TEMPLATE=$(basename "$TEMPLATE")
|
||||
|
||||
function die() {
|
||||
echo "$1"
|
||||
exit 1
|
||||
@ -22,6 +25,8 @@ fi
|
||||
|
||||
# for now, we need to build and locally install to test the template. Check if it's up to date.
|
||||
|
||||
title "Checking template $TEMPLATE"
|
||||
|
||||
|
||||
HASH1=$(ds hash "$SCRIPT_DIR/$TEMPLATE")
|
||||
HASH2=$(ds hash "/opt/dropshell/templates/$TEMPLATE")
|
||||
|
Loading…
x
Reference in New Issue
Block a user