summaryrefslogtreecommitdiff
path: root/source/l/libjpeg/libjpeg.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'source/l/libjpeg/libjpeg.SlackBuild')
-rwxr-xr-xsource/l/libjpeg/libjpeg.SlackBuild2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/l/libjpeg/libjpeg.SlackBuild b/source/l/libjpeg/libjpeg.SlackBuild
index 9d43d22e..a5d3783c 100755
--- a/source/l/libjpeg/libjpeg.SlackBuild
+++ b/source/l/libjpeg/libjpeg.SlackBuild
@@ -58,7 +58,7 @@ rm -rf $PKG
mkdir -p $TMP $PKG
cd $TMP
-rm -rf jpeg-8
+rm -rf jpeg-$(echo $VERSION | cut -f 2 -d v)
tar xvf $CWD/jpegsrc.${VERSION}.tar.?z* || exit 1
cd jpeg-$(echo $VERSION | cut -f 2 -d v)