From 345af3cf746b69fa62f49916cd6048899777a741 Mon Sep 17 00:00:00 2001 From: EuAndreh Date: Wed, 19 Oct 2022 00:05:35 -0300 Subject: bin/without-env: Don't bother with looking at the 3rd argument --- bin/without-env | 1 - 1 file changed, 1 deletion(-) diff --git a/bin/without-env b/bin/without-env index 685472d..fb1f807 100755 --- a/bin/without-env +++ b/bin/without-env @@ -59,7 +59,6 @@ shift $((OPTIND - 1)) eval "$(assert-arg "${1:-}" 'ENVVAR')" eval "$(assert-arg "${2:-}" 'PATH')" -eval "$(assert-arg "${3:-}" '--')" eval "export $1=\"\$(echo \"\$$1\" | sed \"s|\$2:||g\")\"" shift # drop $1 -- cgit v1.2.3