]> granicus.if.org Git - imagemagick/commitdiff
Get rid of the hardcoded version
authorprobonopd <probonopd@users.noreply.github.com>
Sun, 12 Nov 2017 16:42:57 +0000 (17:42 +0100)
committerDirk Lemstra <dlemstra@users.noreply.github.com>
Sun, 12 Nov 2017 18:11:45 +0000 (19:11 +0100)
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 $?