diff options
author | Linus Groh <mail@linusgroh.de> | 2021-03-11 19:50:44 +0100 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2021-03-11 21:01:29 +0100 |
commit | f318ab6bed4603a18198b36da682b6fd36a68f91 (patch) | |
tree | 8e602fa2cc198f8a457c8fcf2c20f61ad63eebc9 /Ports/openssh | |
parent | f45e16a6a219e50124c57d031bd7738717c956af (diff) | |
download | serenity-f318ab6bed4603a18198b36da682b6fd36a68f91.zip |
Ports: Replace hardcoded Build/ paths with SERENITY_BUILD_DIR
Fixes #5710.
Diffstat (limited to 'Ports/openssh')
-rwxr-xr-x | Ports/openssh/package.sh | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/Ports/openssh/package.sh b/Ports/openssh/package.sh index 4b5f0425ad..6a7a06471f 100755 --- a/Ports/openssh/package.sh +++ b/Ports/openssh/package.sh @@ -5,8 +5,7 @@ version=8.3-9ca7e9c files="https://github.com/openssh/openssh-portable/archive/9ca7e9c861775dd6c6312bc8aaab687403d24676.tar.gz openssh-8.3-9ca7e9c.tar.gz" depends="zlib openssl" useconfigure=true -usr_local=$SERENITY_ROOT/Build/Root/usr/local/ -configopts="--prefix=/usr/local --disable-utmp --sysconfdir=/etc/ssh --with-ssl-dir=$usr_local/lib" +configopts="--prefix=/usr/local --disable-utmp --sysconfdir=/etc/ssh --with-ssl-dir=${SERENITY_BUILD_DIR}/Root/usr/local/lib" pre_configure() { run autoreconf @@ -14,5 +13,5 @@ pre_configure() { install() { # Can't make keys outside of Serenity since ssh-keygen is built for Serenity. - run make DESTDIR="$SERENITY_ROOT"/Build/Root $installopts install-nokeys + run make DESTDIR="${SERENITY_BUILD_DIR}/Root" $installopts install-nokeys } |