Index: script/hmake-config.inst =================================================================== RCS file: /home/cvs/root/nhc98/script/hmake-config.inst,v retrieving revision 1.3 diff -u -r1.3 hmake-config.inst --- script/hmake-config.inst 18 Jan 2002 11:54:23 -0000 1.3 +++ script/hmake-config.inst 28 Apr 2003 10:58:03 -0000 @@ -16,4 +16,12 @@ exit 1 fi -exec $HMAKEDIR/$MACHINE/MkConfig "$@" +map() { f=$1; shift; for item in $*; do $f $item; done; } +cygfix() { cygpath -w $1 | tr '\\' '/'; } + +case $MACHINE in + ix86-CYGWIN*) ARGS=`map cygfix "$@"` ;; + *) ARGS="$@" ;; +esac + +exec $HMAKEDIR/$MACHINE/MkConfig $ARGS