aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/env
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2008-08-06 16:13:38 +0000
committerFelix Fietkau <nbd@openwrt.org>2008-08-06 16:13:38 +0000
commit6b28de3047ef8266e2d214f07802db72e0539aeb (patch)
tree6ee089e69ee6649acdf131e818e808cf0879b1dc /scripts/env
parent50273b14f3b1c91c483d99ee2fe25355c35fa193 (diff)
downloadmaster-187ad058-6b28de3047ef8266e2d214f07802db72e0539aeb.tar.gz
master-187ad058-6b28de3047ef8266e2d214f07802db72e0539aeb.tar.bz2
master-187ad058-6b28de3047ef8266e2d214f07802db72e0539aeb.zip
fix a small typo
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12216 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'scripts/env')
-rwxr-xr-xscripts/env2
1 files changed, 1 insertions, 1 deletions
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