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:33:26 -0800 |
commit | 24e928472a1e9def98378c1ad3c06b9232b599cd (patch) | |
tree | 6746a123d2538643041822e127bb34c35f930fcf /bin/ebuild-helpers/prepstrip | |
parent | 2c1083a543ed842c310d7be9ed6888d7eaf7213f (diff) | |
download | portage-24e928472a1e9def98378c1ad3c06b9232b599cd.tar.gz portage-24e928472a1e9def98378c1ad3c06b9232b599cd.tar.bz2 portage-24e928472a1e9def98378c1ad3c06b9232b599cd.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 |