diff options
author | Jelle Raaijmakers <jelle@gmta.nl> | 2022-04-03 13:15:44 +0200 |
---|---|---|
committer | Linus Groh <mail@linusgroh.de> | 2022-04-03 12:35:14 +0100 |
commit | 563d11c9777fb2248efa816c0c7b6a65fa1fea18 (patch) | |
tree | cdc85033505b868d4241540077899a5ae3bac82c /Ports | |
parent | 4c9fbea987a278e2a223be20cd88581fd3b7f3bd (diff) | |
download | serenity-563d11c9777fb2248efa816c0c7b6a65fa1fea18.zip |
Ports: Move luajit warning into `preconfigure`
Otherwise this message will be printed during other `package.sh`
actions such as `showproperty`.
Diffstat (limited to 'Ports')
-rwxr-xr-x | Ports/luajit/package.sh | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/Ports/luajit/package.sh b/Ports/luajit/package.sh index c807f19e43..625dc4c2af 100755 --- a/Ports/luajit/package.sh +++ b/Ports/luajit/package.sh @@ -5,7 +5,10 @@ files="https://luajit.org/download/LuaJIT-${version}.tar.gz LuaJIT-${version}.ta auth_type=sha256 workdir="LuaJIT-${version}" -printf "\x1b[31m\x1b[5mATTENTION: \x1b[0m\x1b[31m\x1b[1mIf this fails, install either libc6-dev-i386 or libc6-dev-amd64\x1b[0m\n" +preconfigure() { + printf "\x1b[31m\x1b[5mATTENTION: \x1b[0m\x1b[31m\x1b[1mIf this fails, install either libc6-dev-i386 or libc6-dev-amd64\x1b[0m\n" +} + if [ ${SERENITY_ARCH} = "i686" ]; then M_FLAG=-m32 elif [ ${SERENITY_ARCH} = "x86_64" ]; then |