aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan200101 <sentrycraft123@gmail.com>2024-03-12 19:58:55 +0100
committerJan200101 <sentrycraft123@gmail.com>2024-03-12 19:58:55 +0100
commit3b6e8353892977c5fbba22ec5aa8977ac9fc1323 (patch)
treecfaac6ed57360c2c3b6b70ec01880a4cc8363fa0
parentf3387c73641948cfa0d98078c247eec81bf46032 (diff)
downloadkernel-fsync-3b6e8353892977c5fbba22ec5aa8977ac9fc1323.tar.gz
kernel-fsync-3b6e8353892977c5fbba22ec5aa8977ac9fc1323.zip
tools: set specdir in build.sh
-rwxr-xr-xTOOLS/build.sh5
1 files changed, 4 insertions, 1 deletions
diff --git a/TOOLS/build.sh b/TOOLS/build.sh
index da97d88..d15c278 100755
--- a/TOOLS/build.sh
+++ b/TOOLS/build.sh
@@ -7,4 +7,7 @@ TOPDIR="$(realpath "$(dirname "${BASH_SOURCE[0]}")/..")"
SOURCEDIR="${TOPDIR}/SOURCES"
SPECDIR="${TOPDIR}/SPECS"
-rpmbuild --define "_sourcedir ${SOURCEDIR}" $@
+rpmbuild \
+ --define "_sourcedir ${SOURCEDIR}" \
+ --define "_specdir ${SPECDIR}" \
+ $@