Call for Patches for crosstool-0.43

Dan Kegel dank@kegel.com
Fri Jun 9 03:57:00 GMT 2006


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



More information about the crossgcc mailing list