From 03a67d3cdf67dfc1eeefe6863607dac202ea09bd Mon Sep 17 00:00:00 2001 From: Nathan Wagner Date: Sun, 1 Jul 2018 02:26:17 +0000 Subject: [PATCH] remove libexec --- zpm | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/zpm b/zpm index 129c72a..633eabf 100755 --- a/zpm +++ b/zpm @@ -9,9 +9,11 @@ while getopts P: opt; do done shift $((OPTIND - 1)) -: ${ZPMPATH:=/usr/libexec/zpm} +#: ${ZPMPATH:=/usr/libexec/zpm} -PATH="$PATH:$ZPMPATH" +if [ -n "$ZPMPATH" ]; then + PATH="$PATH:$ZPMPATH" +fi export PATH [ -z "$1" ] && set help -- 2.40.0