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.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/system/intel-microcode/intel-microcode.SlackBuild b/system/intel-microcode/intel-microcode.SlackBuild
index 371d4c31612e..67ecd8d6431f 100644
--- a/system/intel-microcode/intel-microcode.SlackBuild
+++ b/system/intel-microcode/intel-microcode.SlackBuild
@@ -22,6 +22,8 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=intel-microcode
SRCNAM=Intel-Linux-Processor-Microcode-Data-Files-microcode
VERSION=${VERSION:-20210216}
@@ -29,7 +31,6 @@ BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
ARCH=noarch
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}