Mail Archives: cygwin/2004/01/15/18:29:17
Hack Kampbjorn <cygwin AT hack DOT kampbjorn DOT com> writes:
> If you send the patch to the list I'll look at it and possibly release
> an updated cygwin package.
Attached, per your request.
> But keep bugging the gentoo people that I don't have to maintain
> local patches.
I'll send them a note again. They released 2.0.8 about a week after I
sent my patch, I think, and it didn't include my changes, so I assumed
they had discarded my suggestions.
--=-=-=
Content-Type: text/x-patch
Content-Disposition: attachment; filename=keychain-2.0.3.diff
--- /bin/keychain 2003-11-22 10:40:13.001000000 -0800
+++ ./keychain 2003-11-25 13:17:16.296875000 -0800
@@ -9,6 +9,9 @@
PATH="/sbin:/usr/sbin:${PATH}:/usr/ucb"; export PATH;
+LISTSEP="
+" # Separate list elements with linefeed for splitting.
+
myaction=""
myactionarg=""
noaskopt=""
@@ -55,7 +58,7 @@
nocolopt="yes"
;;
*)
- mykeys="${mykeys} $1"
+ mykeys="${mykeys}${LISTSEP}$1"
;;
esac
shift
@@ -219,15 +222,15 @@
cshpidf="${keydir}/${hostname}-csh"
lockf="${keydir}/${hostname}-lock"
-if [ -f ${keydir} ]
+if [ -f "${keydir}" ]
then
echo "$0: ${keydir} is a file (it should be a directory;) please fix."
exit 1
#Solaris 9 doesn't have -e; using -d....
-elif [ ! -d ${keydir} ]
+elif [ ! -d "${keydir}" ]
then
- mkdir ${keydir} || exit 1
- chmod 0700 ${keydir}
+ mkdir "${keydir}" || exit 1
+ chmod 0700 "${keydir}"
fi
# perform lock if we have lockfile available
@@ -301,9 +304,9 @@
fi
SSH_AGENT_PID="NULL"
-if [ -f $pidf ]
+if [ -f "$pidf" ]
then
- . $pidf
+ . "$pidf"
fi
# Copy application-specific environment variables into generic local variables.
@@ -441,7 +444,7 @@
done
if [ $skip -ne 1 ]
then
- missingkeys="$missingkeys $x"
+ missingkeys="$missingkeys${LISTSEP}$x"
mcount=`expr $mcount + 1`
fi
done
--
Steven E. Harris :: seharris AT raytheon DOT com
Raytheon :: http://www.raytheon.com
--=-=-=
Content-Type: text/plain; charset=us-ascii
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/
--=-=-=--
- Raw text -