Skip to content
Snippets Groups Projects
Commit 4bfb721d authored by Mads Kiilerich's avatar Mads Kiilerich
Browse files

buildrpm: remove prompt for uncommitted changes - it was a bad idea

We want a command that is useful in scripts, not an interactive command.
parent 57e0f053
No related branches found
No related tags found
No related merge requests found
......@@ -144,7 +144,7 @@
fedora:
mkdir -p packages/fedora
echo y | contrib/buildrpm
contrib/buildrpm
cp rpmbuild/RPMS/*/* packages/fedora
cp rpmbuild/SRPMS/* packages/fedora
rm -rf rpmbuild
......@@ -155,7 +155,7 @@
centos6:
mkdir -p packages/centos6
echo y | contrib/buildrpm
contrib/buildrpm
cp rpmbuild/RPMS/*/* packages/centos6
cp rpmbuild/SRPMS/* packages/centos6
......
......@@ -20,14 +20,6 @@
exit 1
fi
if $HG id -i | grep '+$' > /dev/null 2>&1; then
echo -n "Your local changes will NOT be in the RPM. Continue [y/n] ? "
read answer
if echo $answer | grep -iv '^y'; then
exit
fi
fi
# build local hg and use it
python setup.py build_py -c -d .
HG="$PWD/hg"
......
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