projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f9f7b29
)
Use -e instead of -a for better cross-shell compatibility. Thanks to exg.
author
Zac Medico
<zmedico@gentoo.org>
Wed, 11 Oct 2006 18:04:10 +0000
(18:04 -0000)
committer
Zac Medico
<zmedico@gentoo.org>
Wed, 11 Oct 2006 18:04:10 +0000
(18:04 -0000)
svn path=/main/trunk/; revision=4660
bin/dosed
patch
|
blob
|
history
diff --git
a/bin/dosed
b/bin/dosed
index 0a5975a20ac343b1e14e9d7dcc4a4144cdaaecca..20f7ba281639966c3944fcb35ca67508b4ca3de6 100755
(executable)
--- a/
bin/dosed
+++ b/
bin/dosed
@@
-7,7
+7,7
@@
mysed="s:${D}::g"
for x in "$@" ; do
y="${D}${x}"
- if [ -
a
"${y}" ] ; then
+ if [ -
e
"${y}" ] ; then
if [ -f "${y}" ] ; then
mysrc="${T}/${y##*/}"
cp "${y}" "${mysrc}"