Skip to content

Commit

Permalink
fix(install): Wrapper installation for MacOSX
Browse files Browse the repository at this point in the history
  • Loading branch information
ivanilves committed Apr 3, 2019
1 parent b6ef9d3 commit b3ef5c7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -182,8 +182,9 @@ poc-app:
&& pushd ${APP_PATH} >/dev/null; go build; pwd; popd >/dev/null \
&& echo -e "\e[31mHINT: Set 'APP_PATH' makefile variable to adjust PoC application path ;)\e[0m"

wrapper: PARAMS?=$(shell test "$${UID}" = "0" && echo "-o root -g 0 -m755" || echo "-m755")
wrapper: PREFIX:=/usr/local
wrapper:
install -o root -g root -m755 scripts/wrapper.sh ${PREFIX}/bin/lstags
install ${PARAMS} scripts/wrapper.sh ${PREFIX}/bin/lstags

install: wrapper

0 comments on commit b3ef5c7

Please sign in to comment.