Commit 8347e46a authored by Joachim Breitner's avatar Joachim Breitner

upgrade.sh: More reliable detection of DEB_ENABLE_TESTS = yes

parent fc568575
......@@ -47,7 +47,7 @@ fi
debchange --changelog debian/changelog --newversion="$epoch$version-1" 'New upstream release'
origtargz -u
if fgrep -q 'DEB_ENABLE_TESTS = yes' debian/rules
if grep -q '^DEB_ENABLE_TESTS = yes' debian/rules
then
test=""
else
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment