File tree Expand file tree Collapse file tree 1 file changed +6
-8
lines changed
Expand file tree Collapse file tree 1 file changed +6
-8
lines changed Original file line number Diff line number Diff line change @@ -644,10 +644,9 @@ _make_deployment_array() {
644644 fi
645645 if [ " $DEPLOY_IMAGEMAGICK " = 1 ]; then
646646 _echo " * Deploying ImageMagick"
647- set -- " $@ " \
648- " $( command -v magick || true) " \
649- " $( command -v convert || true) " \
650- " $LIB_DIR " /libMagick* .so*
647+ set -- " $@ " " $LIB_DIR " /libMagick* .so*
648+ if b=$( command -v magick) ; then set -- " $@ " " $b " ; fi
649+ if b=$( command -v convert) ; then set -- " $@ " " $b " ; fi
651650 fi
652651 if [ " $DEPLOY_SYS_PYTHON " = 1 ]; then
653652 if pythonbin=$( command -v python) ; then
@@ -658,10 +657,9 @@ _make_deployment_array() {
658657 fi
659658 if [ " $DEPLOY_GEGL " = 1 ]; then
660659 _echo " * Deploying gegl"
661- set -- " $@ " \
662- " $LIB_DIR " /gegl-* /* \
663- " $( command -v gegl || :) " \
664- " $( command -v gegl-imgcmp || :) "
660+ set -- " $@ " " $LIB_DIR " /gegl-* /*
661+ if b=$( command -v gegl) ; then set -- " $@ " " $b " ; fi
662+ if b=$( command -v gegl-imgcmp) ; then set -- " $@ " " $b " ; fi
665663 fi
666664 if [ " $DEPLOY_BABL " = 1 ]; then
667665 _echo " * Deploying babl"
You can’t perform that action at this time.
0 commit comments