Skip to content

Commit

Permalink
Add PLZ_ARGS variable to pleasew
Browse files Browse the repository at this point in the history
Signed-off-by: Mark Sagi-Kazar <mark.sagikazar@gmail.com>
  • Loading branch information
sagikazarmark committed Sep 29, 2020
1 parent 3e3c2ab commit 287d42e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pleasew
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ fi
# If this exists at any version, let it handle any update.
TARGET="${LOCATION}/please"
if [ -f "$TARGET" ]; then
exec "$TARGET" "$@"
exec "$TARGET" ${PLZ_ARGS:-} "$@"
fi

URL_BASE="`grep -i "^downloadlocation" .plzconfig | cut -d '=' -f 2 | tr -d ' '`"
Expand Down Expand Up @@ -69,4 +69,4 @@ for x in `ls "$DIR"`; do
done
ln -sf "${DIR}/please" "${LOCATION}/plz"
echo -e >&2 "${GREEN}Should be good to go now, running plz...${RESET}"
exec "$TARGET" "$@"
exec "$TARGET" ${PLZ_ARGS:-} "$@"

0 comments on commit 287d42e

Please sign in to comment.