FELIX-1778: instances/xxx/karaf.bat leaks environment variables to parent shell

git-svn-id: https://svn.apache.org/repos/asf/felix/trunk@827424 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/karaf/shell/admin/src/main/resources/org/apache/felix/karaf/shell/admin/bin/karaf.bat b/karaf/shell/admin/src/main/resources/org/apache/felix/karaf/shell/admin/bin/karaf.bat
index c47b756..b54a669 100644
--- a/karaf/shell/admin/src/main/resources/org/apache/felix/karaf/shell/admin/bin/karaf.bat
+++ b/karaf/shell/admin/src/main/resources/org/apache/felix/karaf/shell/admin/bin/karaf.bat
@@ -18,8 +18,8 @@
 REM
 REM =========================================================================
 
-SET KARAF_BASE=${karaf.base}
 SETLOCAL
+SET KARAF_BASE=${karaf.base}
 SET KARAF_HOME=${karaf.home}
 
 %KARAF_HOME%\bin\karaf.bat %*