summaryrefslogtreecommitdiff
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
commit88b0d6785e938cdc182cfb5cd15d9c353bf7f22f (patch)
tree8ca1ec23322644780da49ed0cb0081d9c37916e1 /scripts/env
parent6c0474b383e8373bf3b700bd356f4dda9c0bd932 (diff)
downloadmtk-20170518-88b0d6785e938cdc182cfb5cd15d9c353bf7f22f.zip
mtk-20170518-88b0d6785e938cdc182cfb5cd15d9c353bf7f22f.tar.gz
mtk-20170518-88b0d6785e938cdc182cfb5cd15d9c353bf7f22f.tar.bz2
fix a small typo
SVN-Revision: 12216
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 d783e20..afa6d9f 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