From 6b28de3047ef8266e2d214f07802db72e0539aeb Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Wed, 6 Aug 2008 16:13:38 +0000 Subject: fix a small typo git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12216 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- scripts/env | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/env b/scripts/env index d783e20efe..afa6d9fff4 100755 --- a/scripts/env +++ b/scripts/env @@ -158,7 +158,7 @@ env_delete() { env_switch() { local name="${1##*/}" [ -z "$name" ] && usage - [ -f "$envdir/.git/refs/heads/$name" ] || error "environment '$name' not found" + [ -f "$ENVDIR/.git/refs/heads/$name" ] || error "environment '$name' not found" env_init env_ask_sync -- cgit v1.2.3