diff options
author | Zac Medico <zmedico@gentoo.org> | 2006-10-11 18:04:10 +0000 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2006-10-11 18:04:10 +0000 |
commit | 9b8a42a12cbe9242f1e3729aeba9e74825d78a4a (patch) | |
tree | 662c989bee72e5b786840631c740ed08be9ca3e4 | |
parent | f9f7b29d29eb8b1182ef47a81922168fa3a834ac (diff) | |
download | portage-9b8a42a12cbe9242f1e3729aeba9e74825d78a4a.tar.gz portage-9b8a42a12cbe9242f1e3729aeba9e74825d78a4a.tar.bz2 portage-9b8a42a12cbe9242f1e3729aeba9e74825d78a4a.zip |
Use -e instead of -a for better cross-shell compatibility. Thanks to exg.
svn path=/main/trunk/; revision=4660
-rwxr-xr-x | bin/dosed | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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}" |