From: Zac Medico Date: Thu, 7 Sep 2006 05:01:47 +0000 (-0000) Subject: For bug #146564, include directories in packages created by quickpkg. Note that... X-Git-Tag: v2.1.1~6 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=7483ec999518187de6a0c70714d05c89bd5da228;p=portage.git For bug #146564, include directories in packages created by quickpkg. Note that tar's --no-recursion option causes the directories to be selectively included without nessarily including their contents. svn path=/main/trunk/; revision=4419 --- diff --git a/bin/quickpkg b/bin/quickpkg index 1a44cbf84..6101ddc11 100755 --- a/bin/quickpkg +++ b/bin/quickpkg @@ -71,8 +71,8 @@ do_pkg() { NF=NF-2 else if ($1 == "sym") NF=NF-3 - print } + print }' "${SRCDIR}"/CONTENTS | cut -f2- -d" " - | sed -e 's:^/:./:' > "${MYDIR}"/filelist tar vjcf "${MYDIR}"/bin.tar.bz2 -C "${ROOT}" --files-from="${MYDIR}"/filelist --no-recursion