diff options
Diffstat (limited to 'source/l/imagemagick/imagemagick.SlackBuild')
-rwxr-xr-x | source/l/imagemagick/imagemagick.SlackBuild | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/l/imagemagick/imagemagick.SlackBuild b/source/l/imagemagick/imagemagick.SlackBuild index 4dd249c0..84277bac 100755 --- a/source/l/imagemagick/imagemagick.SlackBuild +++ b/source/l/imagemagick/imagemagick.SlackBuild @@ -32,7 +32,7 @@ BUILD=${BUILD:-1} # This is a bit messy, so we'll explain it well. :-) # This is the version number used in the source tarball filename -FILEVER=6.9.9-42 +FILEVER=$(echo ImageMagick-*.tar.?z | cut -f 2- -d - | rev | cut -f 3- -d . | rev) # This is the base version number, which is needed to cd into the source tree. # Normally this is the same as $FILEVER, but allow setting it here if needed. |