diff --git a/tools/minify.sh b/tools/minify.sh index 24abde325e..0579d8ca11 100755 --- a/tools/minify.sh +++ b/tools/minify.sh @@ -2,9 +2,10 @@ cd $(dirname $0)/../web -SDK="../../../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,$SDK/packages/core/src,$SDK/packages/core/overrides,$SDK/classic/classic/src,$SDK/classic/classic/overrides \ +sencha compile --classpath=app.js,app,$EXT/packages/core/src,$EXT/packages/core/overrides,$EXT/classic/classic/src,$EXT/classic/classic/overrides \ exclude -all \ and \ include -recursive -file app.js \