This commit is contained in:
Jephté Clain 2025-06-25 08:43:58 +04:00
parent 3e642b84bc
commit 12fe3a65a5

View File

@ -614,8 +614,7 @@ function container_exec() {
composer) composer)
"$@" "$@"
;; ;;
esac *)
SOPTS=+w: SOPTS=+w:
LOPTS=chdir: LOPTS=chdir:
args="$(getopt -n "$MYNAME" -o "$SOPTS" -l "$LOPTS" -- "$@")" || exit 1; eval "set -- $args" args="$(getopt -n "$MYNAME" -o "$SOPTS" -l "$LOPTS" -- "$@")" || exit 1; eval "set -- $args"
@ -636,6 +635,8 @@ function container_exec() {
cd "$chdir" || exit 1 cd "$chdir" || exit 1
fi fi
exec "$@" exec "$@"
;;
esac
} }
################################################################################ ################################################################################