summaryrefslogtreecommitdiffstats
path: root/bin/ebuild-helpers/prepstrip
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2010-12-19 19:33:26 -0800
committerZac Medico <zmedico@gentoo.org>2010-12-19 19:41:41 -0800
commit70f53f46aba6e0193f61a6e3bf9dbbaa3b9908e0 (patch)
treedc2dabe5da499aed51904f572b5e8d0697189c81 /bin/ebuild-helpers/prepstrip
parent5bc938f581001b7269de7c4dc7293cf84626d66b (diff)
downloadportage-70f53f46aba6e0193f61a6e3bf9dbbaa3b9908e0.tar.gz
portage-70f53f46aba6e0193f61a6e3bf9dbbaa3b9908e0.tar.bz2
portage-70f53f46aba6e0193f61a6e3bf9dbbaa3b9908e0.zip
Substitute bash builtin >> for touch command.
It should be faster to use the bash builtin, and also allows us to avoid issues with touch breakage (like in bug #348640).
Diffstat (limited to 'bin/ebuild-helpers/prepstrip')
-rwxr-xr-xbin/ebuild-helpers/prepstrip2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/ebuild-helpers/prepstrip b/bin/ebuild-helpers/prepstrip
index ceb1ef047..8b18ac0c8 100755
--- a/bin/ebuild-helpers/prepstrip
+++ b/bin/ebuild-helpers/prepstrip
@@ -188,6 +188,6 @@ then
# https://bugzilla.redhat.com/show_bug.cgi?id=444310
while read -r -d $'\0' emptydir
do
- touch "$emptydir"/.keepdir
+ >> "$emptydir"/.keepdir
done < <(find "${D}${prepstrip_sources_dir}/" -type d -empty -print0)
fi