summaryrefslogtreecommitdiff
path: root/Ports/dmidecode
diff options
context:
space:
mode:
authorLinus Groh <mail@linusgroh.de>2021-03-11 19:50:44 +0100
committerAndreas Kling <kling@serenityos.org>2021-03-11 21:01:29 +0100
commitf318ab6bed4603a18198b36da682b6fd36a68f91 (patch)
tree8e602fa2cc198f8a457c8fcf2c20f61ad63eebc9 /Ports/dmidecode
parentf45e16a6a219e50124c57d031bd7738717c956af (diff)
downloadserenity-f318ab6bed4603a18198b36da682b6fd36a68f91.zip
Ports: Replace hardcoded Build/ paths with SERENITY_BUILD_DIR
Fixes #5710.
Diffstat (limited to 'Ports/dmidecode')
-rwxr-xr-xPorts/dmidecode/package.sh11
1 files changed, 5 insertions, 6 deletions
diff --git a/Ports/dmidecode/package.sh b/Ports/dmidecode/package.sh
index f22b492ab7..6aeda753b5 100755
--- a/Ports/dmidecode/package.sh
+++ b/Ports/dmidecode/package.sh
@@ -2,7 +2,6 @@
port=dmidecode
version=3.3
useconfigure=false
-prefix=
files="https://download.savannah.gnu.org/releases/dmidecode/dmidecode-${version}.tar.xz dmidecode-${version}.tar.xz
https://download.savannah.gnu.org/releases/dmidecode/dmidecode-${version}.tar.xz.sig dmidecode-${version}.tar.xz.sig
https://ftp.gnu.org/gnu/gnu-keyring.gpg gnu-keyring.gpg"
@@ -16,9 +15,9 @@ install() {
}
post_install() {
- mkdir -p $SERENITY_ROOT/Build/Root/bin
- run make install-bin DESTDIR=$SERENITY_ROOT/Build/Root/
- ln -s /usr/local/sbin/dmidecode $SERENITY_ROOT/Build/Root/bin/dmidecode
- ln -s /usr/local/sbin/biosdecode $SERENITY_ROOT/Build/Root/bin/biosdecode
- ln -s /usr/local/sbin/vpddecode $SERENITY_ROOT/Build/Root/bin/vpddecode
+ mkdir -p "${SERENITY_BUILD_DIR}/Root/bin"
+ run make install-bin DESTDIR="${SERENITY_BUILD_DIR}/Root"
+ ln -s /usr/local/sbin/dmidecode "${SERENITY_BUILD_DIR}/Root/bin/dmidecode"
+ ln -s /usr/local/sbin/biosdecode "${SERENITY_BUILD_DIR}/Root/bin/biosdecode"
+ ln -s /usr/local/sbin/vpddecode "${SERENITY_BUILD_DIR}/Root/bin/vpddecode"
}