# HG changeset patch # User Mads Kiilerich # Date 1400111317 -7200 # Node ID 4bfb721de6ddecdef5c30a257e2f4e4d90019f2b # Parent 57e0f053e52967babd40531b6b91deeeb30a7380 buildrpm: remove prompt for uncommitted changes - it was a bad idea We want a command that is useful in scripts, not an interactive command. diff -r 57e0f053e529 -r 4bfb721de6dd Makefile --- a/Makefile Thu May 15 01:48:37 2014 +0200 +++ b/Makefile Thu May 15 01:48:37 2014 +0200 @@ -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 diff -r 57e0f053e529 -r 4bfb721de6dd contrib/buildrpm --- a/contrib/buildrpm Thu May 15 01:48:37 2014 +0200 +++ b/contrib/buildrpm Thu May 15 01:48:37 2014 +0200 @@ -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"