From a0e3e53cfe38a29e91e319830f91e4e55bb81e38 Mon Sep 17 00:00:00 2001 From: nbd Date: Wed, 6 Aug 2008 16:13:38 +0000 Subject: [PATCH] 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 d783e20ef..afa6d9fff 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