From 1dd02a6d4d0c58d660bc40b5b70173bb2e66a4dc Mon Sep 17 00:00:00 2001 From: Mateusz Jończyk Date: Sat, 28 Apr 2018 19:43:21 +0200 Subject: minify.sh: use environment variable EXTJS_PATH Allow setting location of ext-6.2.0 directory by an environment variable. People can have ext-6.2.0 in various locations. --- tools/minify.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'tools') diff --git a/tools/minify.sh b/tools/minify.sh index 1ef75371..0579d8ca 100755 --- a/tools/minify.sh +++ b/tools/minify.sh @@ -2,7 +2,8 @@ cd $(dirname $0)/../web -EXT="../../../ext-6.2.0" +# Use the value of $EXTJS_PATH if it is defined, '../../../ext-6.2.0' otherwise +EXT=${EXTJS_PATH:-'../../../ext-6.2.0'} sencha compile --classpath=app.js,app,$EXT/packages/core/src,$EXT/packages/core/overrides,$EXT/classic/classic/src,$EXT/classic/classic/overrides \ exclude -all \ -- cgit v1.2.3