projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
88a4842
)
Use portable sh syntax rather than bash syntax. Thanks to drizzt. (trunk r6428:6429)
author
Zac Medico
<zmedico@gentoo.org>
Sat, 21 Apr 2007 10:50:30 +0000
(10:50 -0000)
committer
Zac Medico
<zmedico@gentoo.org>
Sat, 21 Apr 2007 10:50:30 +0000
(10:50 -0000)
svn path=/main/branches/2.1.2/; revision=6430
bin/ecompressdir
patch
|
blob
|
history
diff --git
a/bin/ecompressdir
b/bin/ecompressdir
index 540b4781806a7ef286f11d15d9a80aa3a0736708..d43861dbc1567b6b93417d68c968a30c8a993264 100755
(executable)
--- a/
bin/ecompressdir
+++ b/
bin/ecompressdir
@@
-62,7
+62,7
@@
for dir in "$@" ; do
# forcibly break all hard links as some compressors whine about it
find "${dir}" -type f -links +1 -exec env file="{}" sh -c \
- 'cp -p "${file}"
{,.ecompress.break} ; mv -f "${file}"{.ecompress.break,}
' \;
+ 'cp -p "${file}"
"${file}.ecompress.break" ; mv -f "${file}.ecompress.break" "${file}"
' \;
# now lets do our work
[[ -z ${suffix} ]] && continue