From: Zac Medico Date: Wed, 11 Oct 2006 18:04:10 +0000 (-0000) Subject: Use -e instead of -a for better cross-shell compatibility. Thanks to exg. X-Git-Tag: v2.1.2~647 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=9b8a42a12cbe9242f1e3729aeba9e74825d78a4a;p=portage.git Use -e instead of -a for better cross-shell compatibility. Thanks to exg. svn path=/main/trunk/; revision=4660 --- diff --git a/bin/dosed b/bin/dosed index 0a5975a20..20f7ba281 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}"