From 24e928472a1e9def98378c1ad3c06b9232b599cd Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Sun, 19 Dec 2010 19:33:26 -0800 Subject: 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). --- bin/ebuild-helpers/prepstrip | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bin/ebuild-helpers/prepstrip') 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 -- cgit v1.2.3-1-g7c22