Skip to content

Commit

Permalink
Don't check if makefile exists, since it could be a URL.
Browse files Browse the repository at this point in the history
  • Loading branch information
jonpugh committed Dec 20, 2016
1 parent bb2c6ba commit eda2f5e
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions install.sh
Expand Up @@ -71,6 +71,8 @@ fi

LINE=---------------------------------------------

MAKEFILE_PATH="/usr/share/devshop/build-devmaster.make"

# Detect playbook path option
while [ $# -gt 0 ]; do
case "$1" in
Expand Down Expand Up @@ -253,12 +255,6 @@ if [ ! -f "$PLAYBOOK_PATH/playbook.yml" ]; then
echo $LINE
fi

# If MAKEFILE PATH is not found, default to CLI's build-devmaster.
if [ ! -f "$MAKEFILE_PATH" ]; then
MAKEFILE_PATH=/usr/share/devshop/build-devmaster.make
echo $LINE
fi

echo " Playbook: $PLAYBOOK_PATH/playbook.yml "
echo " Makefile: $MAKEFILE_PATH "
echo $LINE
Expand Down

0 comments on commit eda2f5e

Please sign in to comment.