From 889cbfe1e6ea8f2428002e8649ffc84e8c467268 Mon Sep 17 00:00:00 2001 From: volundr- Date: Wed, 21 Jan 2015 15:54:43 -0500 Subject: [PATCH] Unfucked setenv.bat Summary: setenv.bat.dist was a bit fucked, fixed it up Test Plan: copy setenv.bat.dist to setenv.bat and update ARC_HOME to point to your arcanist directory run setenv.bat Reviewers: #ss14_developers, Kraso Reviewed By: #ss14_developers, Kraso Subscribers: YotaXP Differential Revision: http://phab.nexisonline.net/D29 --- setenv.bat.dist | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/setenv.bat.dist b/setenv.bat.dist index e2614e305..7f704f8cc 100644 --- a/setenv.bat.dist +++ b/setenv.bat.dist @@ -1,3 +1,8 @@ +REM @echo off SET ARC_HOME=E:\dev\arcanist\arcanist -call arc.bat > nul 2>&1 -if %ERRORLEVEL%==9009 SET PATH=%PATH%;%ARC_HOME%\bin \ No newline at end of file +CMD /C call arc.bat > nul 2>&1 +if ERRORLEVEL 1 GOTO path +GOTO end +:path +SET PATH=%PATH%;%ARC_HOME%\bin +:end \ No newline at end of file