diff options
author | Zac Medico <zmedico@gentoo.org> | 2006-09-07 05:01:47 +0000 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2006-09-07 05:01:47 +0000 |
commit | 7483ec999518187de6a0c70714d05c89bd5da228 (patch) | |
tree | a59c103e0599f6a1463ea4307b37a780c7ee8186 | |
parent | fb26d3caf47e11ea398145d73e5924bef9063243 (diff) | |
download | portage-7483ec999518187de6a0c70714d05c89bd5da228.tar.gz portage-7483ec999518187de6a0c70714d05c89bd5da228.tar.bz2 portage-7483ec999518187de6a0c70714d05c89bd5da228.zip |
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
-rwxr-xr-x | bin/quickpkg | 2 |
1 files changed, 1 insertions, 1 deletions
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 |