mirror of
https://github.com/outbackdingo/scratchpkg.git
synced 2026-02-05 00:25:53 +00:00
updated
This commit is contained in:
4
scratch
4
scratch
@@ -674,8 +674,8 @@ parse_options() {
|
||||
-s | --search) testinput "$2" && searchpkg "$2" || exit 1; shift 2 ;;
|
||||
-t | --create-template) testinput "$2" && createtemplate "$2" || exit 1; shift 2 ;;
|
||||
-pp | --port-path) testinput "$2" && showportpath "$2" || exit 1; shift 2 ;;
|
||||
-sd | --source-dir) testinput "$2" && { OPTS+=($1 $2); SOURCE_PKG="$2"; } || exit 1; shift 2 ;;
|
||||
-pd | --package-dir) testinput "$2" && { OPTS+=($1 $2); OUTPUT_PKG="$2"; } || exit 1; shift 2 ;;
|
||||
-sd | --source-dir) testinput "$2" && OPTS+=($1 $2) || exit 1; shift 2 ;;
|
||||
-pd | --package-dir) testinput "$2" && OPTS+=($1 $2) || exit 1; shift 2 ;;
|
||||
-p | --package) testinput "$2" && while [ "$2" ]; do
|
||||
if echo "" $2 | grep -vq "^ -"; then
|
||||
INSTALLPKG+=($2); shift
|
||||
|
||||
Reference in New Issue
Block a user