From: Nathan Wagner Date: Fri, 3 Aug 2018 23:41:45 +0000 (+0000) Subject: prepend paths given by option X-Git-Tag: v0.1.6~81 X-Git-Url: https://pd.if.org/git/?p=zpackage;a=commitdiff_plain;h=9f4231fece7f7cc055754a58c89228ad862c43d8 prepend paths given by option --- diff --git a/zpm b/zpm index 633eabf..06599ac 100755 --- a/zpm +++ b/zpm @@ -3,7 +3,7 @@ # parse command line options while getopts P: opt; do case $opt in - P) PATH=$PATH:$OPTARG ;; + P) PATH=$OPTARG:$PATH ;; *) printf "zpm unknown option '%s'\n" "$opt"; exit 1 ;; esac done