[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#791802: debootstrap: use portable sed (missing ;)



Package: debootstrap
Version: 1.0.70

debootstrap uses some non-portable sed syntax in the Makefile.
This needs to be patched to work with FreeBSD sed (missing ;).
The following syntax works with both GNU and BSD sed versions:

-DATE := $(shell sed -n '/^ -- /{s/.*> \(.*\)/\1/p;q}' debian/changelog)
+DATE := $(shell sed -n '/^ -- /{s/.*> \(.*\)/\1/p;q;}' debian/changelog)


Reply to: