diff options
author | Zac Medico <zmedico@gentoo.org> | 2010-12-19 19:33:26 -0800 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2010-12-19 19:41:41 -0800 |
commit | 70f53f46aba6e0193f61a6e3bf9dbbaa3b9908e0 (patch) | |
tree | dc2dabe5da499aed51904f572b5e8d0697189c81 /bin/ebuild-helpers/prepstrip | |
parent | 5bc938f581001b7269de7c4dc7293cf84626d66b (diff) | |
download | portage-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-x | bin/ebuild-helpers/prepstrip | 2 |
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 |