X-Git-Url: http://mj.ucw.cz/gitweb/?a=blobdiff_plain;f=public%2Fcompile;h=b10ae9daefd62cc819f8ca846a5b2edcac3c54a5;hb=895a884dcad1458941714db1d0552097aa8366a3;hp=0a180d3f2d81b19cc8652c82cf2ced8750058681;hpb=9c62968bc71f78badc6022016a76743664fb48b4;p=moe.git diff --git a/public/compile b/public/compile old mode 100644 new mode 100755 index 0a180d3..b10ae9d --- a/public/compile +++ b/public/compile @@ -2,9 +2,9 @@ # (c) 2001 Martin Mares set -e -[ -n "$MO_PUBLIC" -a -d "$MO_PUBLIC" ] || { echo >&2 "MO_PUBLIC not set, giving up." ; exit 1 ; } -. $MO_PUBLIC/bin/lib -. $MO_PUBLIC/config +[ -n "$MO_ROOT" -a -d "$MO_ROOT" ] || { echo >&2 "MO_ROOT not set, giving up." ; exit 1 ; } +. $MO_ROOT/bin/lib +. $MO_ROOT/config [ -n "$1" ] || die "Usage: compile ( | [])" if [ "${1%%.*}" == "$1" ] ; then