From 45cd18d79b95c75c3989b322ebf3d2aa11c77fb2 Mon Sep 17 00:00:00 2001 From: brad kittenbrink <brad@lindenlab.com> Date: Wed, 28 Apr 2010 16:38:52 -0700 Subject: [PATCH] Moved around AUTOBUILD var tests so they make more sense. --HG-- branch : autobuild-package-skeleton --- build-cmd.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/build-cmd.sh b/build-cmd.sh index bd8cca6..c7b24f1 100755 --- a/build-cmd.sh +++ b/build-cmd.sh @@ -5,14 +5,14 @@ set -x # make errors fatal set -e -if [ "$OSTYPE" = "cygwin" ] ; then - export AUTOBUILD="$(cygpath -u $AUTOBUILD)" -fi - if [ -z "$AUTOBUILD" ] ; then fail fi +if [ "$OSTYPE" = "cygwin" ] ; then + export AUTOBUILD="$(cygpath -u $AUTOBUILD)" +fi + # load autbuild provided shell functions and variables set +x eval "$("$AUTOBUILD" source_environment)" -- GitLab