summaryrefslogtreecommitdiffstats
path: root/scripts/ubuntu/edgy
diff options
context:
space:
mode:
authorColin Watson <cjwatson@debian.org>2007-10-20 12:50:50 (GMT)
committerColin Watson <cjwatson@debian.org>2007-10-20 12:50:50 (GMT)
commit5500f6d29c0d8dc3b3d9ae4dd0dcd74209bc5459 (patch)
tree9b41d62f95dcd286dd9055dbedca954eba51f7b3 /scripts/ubuntu/edgy
parent22af1779cb33249df7cc952d090caf47f75c3bf1 (diff)
downloaddebootstrap-5500f6d29c0d8dc3b3d9ae4dd0dcd74209bc5459.zip
debootstrap-5500f6d29c0d8dc3b3d9ae4dd0dcd74209bc5459.tar.gz
debootstrap-5500f6d29c0d8dc3b3d9ae4dd0dcd74209bc5459.tar.bz2
* Don't rely on GNU sed's s///I extension (closes: #350583).
r49835
Diffstat (limited to '')
-rw-r--r--scripts/ubuntu/edgy2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/ubuntu/edgy b/scripts/ubuntu/edgy
index c1b7885..0237487 100644
--- a/scripts/ubuntu/edgy
+++ b/scripts/ubuntu/edgy
@@ -67,7 +67,7 @@ first_stage_install () {
local ver="$(
ar -p "$TARGET/$deb" control.tar.gz | zcat |
tar -O -xf - control ./control 2>/dev/null |
- sed -ne 's/^Version: *//Ip' | head -n 1
+ grep -i ^Version: | sed -e 's/[^:]*: *//' | head -n 1
)"
mkdir -p "$TARGET/var/lib/dpkg/info"