dotgnu-pnet-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Dotgnu-pnet-commits] pnetlib/tools wrapper.sh.in,1.1,1.2


From: Rhys Weatherley <address@hidden>
Subject: [Dotgnu-pnet-commits] pnetlib/tools wrapper.sh.in,1.1,1.2
Date: Wed, 26 Nov 2003 22:57:15 +0000

Update of /cvsroot/dotgnu-pnet/pnetlib/tools
In directory subversions:/tmp/cvs-serv24601/tools

Modified Files:
        wrapper.sh.in 
Log Message:


Bug fixes to the Win32 version of "wrapper.sh".


Index: wrapper.sh.in
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnetlib/tools/wrapper.sh.in,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** wrapper.sh.in       26 Nov 2003 21:38:35 -0000      1.1
--- wrapper.sh.in       26 Nov 2003 22:57:12 -0000      1.2
***************
*** 36,46 ****
        *-*-mingw*|*-*-cygwin*)
                # Copy the "clrwrap" binary to the final location.
-               if ! test -f "${CLRWRAP}" ; then
-                       CLRWRAP="${CLRWRAP}.exe"
-               fi
                echo rm -f "$1"
                rm -f "$1"
!               echo cp "${CLRWRAP}" "$1"
!               exec cp "${CLRWRAP}" "$1"
                ;;
        *)
--- 36,49 ----
        *-*-mingw*|*-*-cygwin*)
                # Copy the "clrwrap" binary to the final location.
                echo rm -f "$1"
                rm -f "$1"
!               echo cp "${CLRWRAP}.exe" "$1"
!               if cp "${CLRWRAP}.exe" "$1" ; then
!                       echo strip "$1"
!                       strip "$1" 2>/dev/null
!                       exit 0
!               else
!                       exit 1
!               fi
                ;;
        *)





reply via email to

[Prev in Thread] Current Thread [Next in Thread]