From: Martin Mares Date: Thu, 25 Mar 2010 18:48:50 +0000 (+0100) Subject: MO: Fixed compile X-Git-Url: http://mj.ucw.cz/gitweb/?a=commitdiff_plain;ds=sidebyside;h=69158023b4fd21fc930661c67f434635c4bec0fb;p=moe.git MO: Fixed compile --- diff --git a/mop/public/compile.sh b/mop/public/compile.sh index c467dca..24731d9 100755 --- a/mop/public/compile.sh +++ b/mop/public/compile.sh @@ -5,6 +5,7 @@ set -e [ -n "$MO_ROOT" -a -d "$MO_ROOT" ] || { echo >&2 "MO_ROOT not set, giving up." ; exit 1 ; } pushd $MO_ROOT >/dev/null . lib/libeval.sh +. cf/eval . cf/mop popd >/dev/null @@ -28,7 +29,7 @@ else SRCEXT=${1/*./} shift EXTRA_CFLAGS="$@" - CCMD=COMP_$SRCEXT + CCMD=EXT_${SRCEXT}_COMP [ -n "${!CCMD}" ] || die "Don't know how to compile $SRC" CCMD="`eval echo ${!CCMD}`" echo "$CCMD"