+UPSTREAM := $(shell head -1 debian/changelog | sed
's/.*(//;s/-.*?*).*//')

That works, but isn't a great fix.  The '.?*' from the original, AFAICS,
never should have been there, and .*?* is differently buggy... there
shouldn't be a literal '?' in the string.

A better fix would be:

+UPSTREAM := $(shell head -1 debian/changelog | sed
's/.*(//;s/-[^)-]\+).*//')

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1563098

Title:
  Update d/rules UPSTREAM regex

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/phing/+bug/1563098/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to