fix: remove flag that does not make sense in build context
This commit is contained in:
1 file changed
-13
@@ -73,19 +73,6 @@ trigger-builder-pack-builder-build() {
|
|||||||
fi
|
fi
|
||||||
shift 2
|
shift 2
|
||||||
;;
|
;;
|
||||||
-d | --descriptor)
|
|
||||||
PACK_ARGS+=("--descriptor")
|
|
||||||
PACK_ARGS+=("$2")
|
|
||||||
shift 2
|
|
||||||
;;
|
|
||||||
-d=* | --descriptor=*)
|
|
||||||
if [[ "$1" == "--descriptor=*" ]]; then
|
|
||||||
PACK_ARGS+=("--descriptor" "${1#--descriptor=}")
|
|
||||||
elif [[ "$1" == "-d=*" ]]; then
|
|
||||||
PACK_ARGS+=("--descriptor" "${1#-d=}")
|
|
||||||
fi
|
|
||||||
shift 1
|
|
||||||
;;
|
|
||||||
-e | --env)
|
-e | --env)
|
||||||
PACK_ARGS+=("--env")
|
PACK_ARGS+=("--env")
|
||||||
PACK_ARGS+=("$2")
|
PACK_ARGS+=("$2")
|
||||||
|
|||||||
Reference in new issue
Block a user