summaryrefslogtreecommitdiff
path: root/bin/dosed
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2006-10-11 18:04:10 +0000
committerZac Medico <zmedico@gentoo.org>2006-10-11 18:04:10 +0000
commit9b8a42a12cbe9242f1e3729aeba9e74825d78a4a (patch)
tree662c989bee72e5b786840631c740ed08be9ca3e4 /bin/dosed
parentAppend PORTAGE_RSYNC_EXTRA_OPTS after the default options for bug #150883. (diff)
downloadportage-multirepo-9b8a42a12cbe9242f1e3729aeba9e74825d78a4a.tar.gz
portage-multirepo-9b8a42a12cbe9242f1e3729aeba9e74825d78a4a.tar.bz2
portage-multirepo-9b8a42a12cbe9242f1e3729aeba9e74825d78a4a.zip
Use -e instead of -a for better cross-shell compatibility. Thanks to exg.
svn path=/main/trunk/; revision=4660
Diffstat (limited to 'bin/dosed')
-rwxr-xr-xbin/dosed2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/dosed b/bin/dosed
index 0a5975a2..20f7ba28 100755
--- 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}"