summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2008-08-06 16:13:38 +0000
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2008-08-06 16:13:38 +0000
commita0e3e53cfe38a29e91e319830f91e4e55bb81e38 (patch)
tree6ee089e69ee6649acdf131e818e808cf0879b1dc
parent199fc12ea537ea9ca7f453b86dd261fc3032744c (diff)
fix a small typo
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12216 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rwxr-xr-xscripts/env2
1 files changed, 1 insertions, 1 deletions
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