From: nbd Date: Wed, 6 Aug 2008 16:13:38 +0000 (+0000) Subject: fix a small typo X-Git-Url: https://git.rohieb.name/openwrt.git/commitdiff_plain/a0e3e53cfe38a29e91e319830f91e4e55bb81e38?hp=199fc12ea537ea9ca7f453b86dd261fc3032744c fix a small typo git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12216 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- 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