--- make-etc-links.sh-0.8 2002-09-12 22:37:16.000000000 -0400 +++ make-etc-links.sh 2002-09-12 23:05:43.000000000 -0400 @@ -5,8 +5,8 @@ FILES="hosts protocols services networks" -OSNAME=`/bin/uname -s` -WINHOME=`/bin/cygpath -W` +OSNAME="`/bin/uname -s`" +WINHOME="`/bin/cygpath -W`" case "$OSNAME" in CYGWIN_NT*) WINETC="$WINHOME/system32/drivers/etc" ;; @@ -28,8 +28,8 @@ do if [ ! -e "/etc/$FILE" -a ! -L "/etc/$FILE" ] then # Windows only uses the first 8 characters - WFILE="$WINETC/"`expr substr "$FILE" 1 8` - WFILE=$(cygpath -u "$(cygpath -w -l "$WFILE")") + WFILE="$WINETC/`expr substr "$FILE" 1 8`" + WFILE="$(cygpath -u "$(cygpath -w -l "$WFILE")")" /bin/ln -s -v "$WFILE" "/etc/$FILE" fi done