Bad bugs in gcc-mingw package (ATTN: CGF)

Max Bowsher maxb@ukf.net
Fri Nov 15 14:30:00 GMT 2002


I've posted a couple of times about these bugs in the gcc-mingw package
preremove script.

Chris: I think you are its maintainer - if not, sorry.
If yes, no problem if you don't have time to deal with it now, but could you
just confirm you've noticed my email?

Thanks,

Max.

----------------------------------------------------------------------------
----------------------


The gcc-mingw package uses an _extremely_ strange packaging scheme. Why does
it do this?

Anyway, there are 2 bug in the preremove script:

1) If file-that-we-need exists, then bail out.
Obviously, this should be: If file-that-we-need does NOT exist, then bail
out.

2) Missing quote.

Max.


--- gcc-mingw.shorig 2002-11-14 18:02:10.000000000 +0000
+++ gcc-mingw.sh 2002-11-14 18:02:42.000000000 +0000
@@ -1,5 +1,5 @@
 #!/bin/sh
-[ -f /etc/preremove/gcc-mingw-manifest.lst ] && exit 0
-echo "*** Removing gcc-mingw files.  Please wait. ***
+[ -f /etc/preremove/gcc-mingw-manifest.lst ] || exit 0
+echo "*** Removing gcc-mingw files.  Please wait. ***"
 /bin/rm -rf `cat /etc/preremove/gcc-mingw-manifest.lst`
/etc/preremove/gcc-mingw-manifest.lst
 [ -L /usr/i686-pc-mingw32/include -a -L /usr/i686-pc-mingw32/lib] &&
/bin/rm -rf /usr/i686-pc-mingw32



More information about the Cygwin-apps mailing list