Skip to content
Snippets Groups Projects
Commit 84b13434 authored by Lloyd Hilaiel's avatar Lloyd Hilaiel
Browse files

move rpmbulid.sh into scripts/ - it's not important enough to all who view the...

move rpmbulid.sh into scripts/ - it's not important enough to all who view the repo to be at the top level.  issue #478
parent 93e8588a
No related branches found
No related tags found
No related merge requests found
......@@ -4,10 +4,10 @@ set -e
progname=$(basename $0)
cd $(dirname $0) # top level of the checkout
cd $(dirname $0)/.. # top level of the checkout
curdir=$(basename $PWD)
if [ "$curdir" != "browserid" ]; then
if [ "$curdir" != "browserid" ]; then
echo "$progname: git checkout must be in a dir named 'browserid'" >&2
exit 1
fi
......@@ -23,7 +23,7 @@ set +e
rpmbuild --define "_topdir $PWD/rpmbuild" -ba browserid.spec
rc=$?
if [ $rc -eq 0 ]; then
ls -l $PWD/rpmbuild/RPMS/*/*.rpm
ls -l $PWD/rpmbuild/RPMS/*/*.rpm
else
echo "$progname: failed to build browserid RPM (rpmbuild rc=$rc)" >&2
fi
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment