This is the mail archive of the crossgcc@sourceware.org mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more information.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Call for Patches for crosstool-0.43


On 6/8/06, Laurence A. Lee <lalee@pobox.com> wrote:
This is a minor fix to getandpatch.sh which allows the Cygwin-specific
patches to apply.  Basically, this adds a sed rule to trim off the extra
"-src" in Cygwin archive filenames:  ${CYGWIN_URL}/${CYGWIN_DIR}-src.tar.bz2

Thanks...


--- getandpatch.sh.orig 2006-05-30 18:36:44.000000000 -0700
+++ getandpatch.sh      2006-05-30 18:37:09.000000000 -0700
@@ -99,7 +99,7 @@
          esac

          ARCHIVE_NAME=`echo $arg | sed 's,.*/,,;'`
-        BASENAME=`echo $ARCHIVE_NAME | sed 's,\.tar\.gz$,,;s,\.tar\.bz2$,,;s,\.tgz,,;'`
+        BASENAME=`echo $ARCHIVE_NAME | sed 's,\.tar\.gz$,,;s,\.tar\.bz2$,,;s,\.tgz,,;s,-src$,,'`

          # Done if already unpacked
          test -z "${JUST_DOWNLOAD}" && test -d ${SRC_DIR}/$BASENAME && { echo "directory $BASENAME already present"; return 0 ; }




--
Wine for Windows ISVs: http://kegel.com/wine/isv

--
For unsubscribe information see http://sourceware.org/lists.html#faq


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]