From 08e5e31f93122865ce9c92ff1e82560811d24cad Mon Sep 17 00:00:00 2001 From: Roy Marples Date: Mon, 26 May 2008 16:06:35 +0000 Subject: [PATCH] set is shell builtin, env is not --- dhcpcd-hooks/01-test | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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