Skip to content

Commit 150d636

Browse files
committed
check for rpmbuild
1 parent 0af4dd9 commit 150d636

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

make-rpm.sh.in

+6
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,12 @@ echo Sorry, cannot identify Linux distro
1616
exit 1
1717
fi
1818

19+
if [ ! -x /usr/bin/rpmbuild ]; then
20+
echo "Could not locate /usr/bin/rpmbuild"
21+
echo "Please install rpm-build package to continue."
22+
exit 1
23+
fi
24+
1925
echo "Making RPM for $dist"
2026

2127
dir="release/linux-$dist"

0 commit comments

Comments
 (0)