From 338b72256a3637076ce2741c69b2d8bdb9bb0754 Mon Sep 17 00:00:00 2001 From: Guilhem Moulin Date: Mon, 29 May 2017 18:40:13 +0200 Subject: udeb: only copy generated .udeb files to the iso image. --- src/getname.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/getname.sh b/src/getname.sh index 3bd5bf6..071bc59 100755 --- a/src/getname.sh +++ b/src/getname.sh @@ -15,11 +15,11 @@ if [ $# -gt 0 ]; then *-udeb);; *) name="${name%.udeb}"; name="${name%%_*}-udeb";; esac - echo $name + echo "$name" else for dir in src/*-udeb/; do if [ -r "$dir/debian/files" ]; then - echo src/$(cut -d' ' -f1 "$dir/debian/files") + echo src/"$(sed -nr '/^(\S+\.udeb)(\s.*)?$/ {s//\1/p;q}' "$dir/debian/files")" else deb_arch=$(dpkg-architecture -qDEB_HOST_ARCH ${ARCH:+-a$ARCH}) sed -nr "s@^(\S+) \(([0-9.]+)\).*@src/\1_\2_${deb_arch}.udeb@p" "$dir/debian/changelog" -- cgit v1.2.3