summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorCyril Brulebois <kibi@debian.org>2015-07-09 23:10:26 (GMT)
committerCyril Brulebois <kibi@debian.org>2015-07-09 23:10:26 (GMT)
commitd997eeff8264fa64db60a84503e13836a01b9820 (patch)
tree3cc6808f7106d2f965be3f2bf123b09083e27c3b /Makefile
parentda60abf3bf2113d0b0bfef93269b4b651f2a87e9 (diff)
downloaddebootstrap-d997eeff8264fa64db60a84503e13836a01b9820.zip
debootstrap-d997eeff8264fa64db60a84503e13836a01b9820.tar.gz
debootstrap-d997eeff8264fa64db60a84503e13836a01b9820.tar.bz2
Adjust sed call to render it more portable (Closes: #791802).
This makes it work with FreeBSD sed. Thanks to Nikolai Lifanov for the report and the patch.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index bc62fca..1020cbc 100644
--- a/Makefile
+++ b/Makefile
@@ -1,6 +1,6 @@
# avoid dpkg-dev dependency; fish out the version with sed
VERSION := $(shell sed 's/.*(\(.*\)).*/\1/; q' debian/changelog)
-DATE := $(shell sed -n '/^ -- /{s/.*> \(.*\)/\1/p;q}' debian/changelog)
+DATE := $(shell sed -n '/^ -- /{s/.*> \(.*\)/\1/p;q;}' debian/changelog)
MAKEDEV ?= /sbin/MAKEDEV