You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
qubes-linux-template-builder/build_template_rpm

13 lines
223 B

#!/bin/sh
NAME=$1
if [ x$NAME = x ] ; then
echo "usage $0 <template_name>"
exit 1
fi
SIGN_OPT=--sign
[ "$NO_SIGN" = "1" ] && SIGN_OPT=
rpmbuild $SIGN_OPT --target noarch --define "template_name $NAME" -bb templates.spec