From: Roy Marples Date: Mon, 26 May 2008 16:06:35 +0000 (+0000) Subject: set is shell builtin, env is not X-Git-Tag: v4.0.2~332 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=08e5e31f93122865ce9c92ff1e82560811d24cad;p=thirdparty%2Fdhcpcd.git set is shell builtin, env is not --- diff --git a/dhcpcd-hooks/01-test b/dhcpcd-hooks/01-test index 9586075d..87c44d99 100644 --- a/dhcpcd-hooks/01-test +++ b/dhcpcd-hooks/01-test @@ -1,6 +1,6 @@ # Just echo our DHCP options we have if [ "${reason}" = "TEST" ]; then - env | grep "^\(interface\|pid\|reason\|skip_hooks\)=" - env | grep "^\(new_\|old_\)" | sort + set | grep "^\(interface\|pid\|reason\|skip_hooks\)=" | sort + set | grep "^\(new_\|old_\)" | sort fi