From 9b8a42a12cbe9242f1e3729aeba9e74825d78a4a Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Wed, 11 Oct 2006 18:04:10 +0000 Subject: Use -e instead of -a for better cross-shell compatibility. Thanks to exg. svn path=/main/trunk/; revision=4660 --- bin/dosed | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bin/dosed') 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}" -- cgit v1.2.3-1-g7c22