From 1cbfe4e361465de8a69868913ee9424963dca6f7 Mon Sep 17 00:00:00 2001 From: Naomi Seyfer Date: Wed, 28 Nov 2012 18:39:25 -0800 Subject: [PATCH] Modified cli-test.sh to be less sensitive to directory run from --- admin/cli-test.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/admin/cli-test.sh b/admin/cli-test.sh index dc8171e422..3a4217a8a9 100755 --- a/admin/cli-test.sh +++ b/admin/cli-test.sh @@ -1,10 +1,9 @@ #!/bin/bash # NOTE: by default this tests the working copy, not the installed meteor. -# It does this by assuming you're running it from its own directory. # To test the installed meteor, pass in --global - +cd `dirname $0` METEOR=`pwd`/../meteor #If this ever takes more options, use getopt