aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEuAndreh <eu@euandre.org>2022-10-19 00:05:35 -0300
committerEuAndreh <eu@euandre.org>2022-10-19 00:05:35 -0300
commit345af3cf746b69fa62f49916cd6048899777a741 (patch)
treeb1a8d79dd52b8166bb25b1a568921accbfb334ec
parentetc/sh/rc: Ensure common-lisp/source symlink always exist (diff)
downloaddotfiles-345af3cf746b69fa62f49916cd6048899777a741.tar.gz
dotfiles-345af3cf746b69fa62f49916cd6048899777a741.tar.xz
bin/without-env: Don't bother with looking at the 3rd argument
-rwxr-xr-xbin/without-env1
1 files changed, 0 insertions, 1 deletions
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