fixed local layout file path

This commit is contained in:
Tomas Baca 2019-09-17 10:44:42 +02:00
parent d09a960ad8
commit 42630ea793

View File

@ -101,7 +101,7 @@ fi
# if the layout name is a full path, use it, otherwise fabricate the full path # if the layout name is a full path, use it, otherwise fabricate the full path
if [[ $LAYOUT_NAME == *".json" ]]; then if [[ $LAYOUT_NAME == *".json" ]]; then
LAYOUT_FILE="$LAYOUT_NAME" LAYOUT_FILE=`realpath "$LAYOUT_NAME"`
else else
LAYOUT_FILE=$LAYOUT_PATH/layout-"$LAYOUT_NAME".json LAYOUT_FILE=$LAYOUT_PATH/layout-"$LAYOUT_NAME".json
fi fi