aboutsummaryrefslogtreecommitdiff
path: root/system/intel-microcode/intel-microcode.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'system/intel-microcode/intel-microcode.SlackBuild')
-rw-r--r--system/intel-microcode/intel-microcode.SlackBuild7
1 files changed, 4 insertions, 3 deletions
diff --git a/system/intel-microcode/intel-microcode.SlackBuild b/system/intel-microcode/intel-microcode.SlackBuild
index 44098b54259e..3fb720bceb7e 100644
--- a/system/intel-microcode/intel-microcode.SlackBuild
+++ b/system/intel-microcode/intel-microcode.SlackBuild
@@ -26,7 +26,8 @@ cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=intel-microcode
SRCNAM=Intel-Linux-Processor-Microcode-Data-Files-microcode
-VERSION=${VERSION:-20230512}
+VERSION=${VERSION:-20230512_rev2}
+SRCVER=$(printf "%s" "${VERSION}" | tr _ -)
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -48,8 +49,8 @@ mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$SRCNAM-$VERSION.tar.gz
-mv $SRCNAM-$VERSION $PRGNAM-$VERSION
+tar xvf $CWD/$SRCNAM-$SRCVER.tar.gz
+mv $SRCNAM-$SRCVER $PRGNAM-$VERSION
cd $PRGNAM-$VERSION
chown -R root:root .