]> granicus.if.org Git - imagemagick/blobdiff - AppRun
Remove --enable-zero-configuration as per https://github.com/ImageMagick/ImageMagick...
[imagemagick] / AppRun
diff --git a/AppRun b/AppRun
index 2f051473ac855ffd5b4c46799da1f86c25271e62..16d940346887fec1432cb4beda45d5aea3762b86 100644 (file)
--- a/AppRun
+++ b/AppRun
@@ -8,7 +8,7 @@
 HERE="$(dirname "$(readlink -f "${0}")")"
 
 export MAGICK_HOME="$HERE/usr" # http://www.imagemagick.org/QuickStart.txt
-export MAGICK_CONFIGURE_PATH="$HERE/usr/lib/ImageMagick-7.0.7/config-Q16/" # Undocumented?
+export MAGICK_CONFIGURE_PATH=$(readlink -f "$HERE/usr/lib/ImageMagick-*/config-*/") # Undocumented?
  
 if [ "$1" == "man" ] ; then
   export MANPATH="$HERE/usr/share/man:$MANPATH" ; exec "$@" ; exit $?