PING: Copy CACAO's .hg repo as well with --with-cacao-src-dir

Andrew Hughes ahughes at redhat.com
Fri Apr 6 06:01:06 PDT 2012


----- Original Message -----
> I've posted this a while ago:
> http://mail.openjdk.java.net/pipermail/distro-pkg-dev/2012-March/017630.html
> 
> diff -r 54ceda20a02c Makefile.am
> --- a/Makefile.am       Mon Feb 27 14:40:52 2012 +0100
> +++ b/Makefile.am       Sat Mar 10 23:19:19 2012 +0100
> @@ -997,8 +997,8 @@
>         set -e ; \
>         if ! test -d cacao ; \
>         then \
> -         mkdir -p cacao/cacao ; \
> -         cp -r $(ALT_CACAO_SRC_DIR)/* cacao/cacao/ ; \
> +         mkdir cacao ; \
> +         cp -rL $(ALT_CACAO_SRC_DIR) cacao/cacao ; \
>         fi
>  else
>         set -e ; \
> 
> The purpose is so that java -version is able to display version
> information about CACAO as well, like this:
> https://bitbucket.org/Ringdingcoder/cacao-dev/changeset/75b2b23e443c#comments
> 
> Because Mark asked about it in IRC, I added -L (--dereference) so it
> works also if ALT_CACAO_SRC_DIR is a symlink. Since it works fine in
> this case with the current version, I didn't want to break this
> possibility.
> 
> Regards,
> Stefan
> 

Thanks Stefan.  I guess we missed this with it being posted on a weekend.  Sorry
about that.

I'll add the fix to 6, 7 & 8 HEAD on your behalf (do you have commit access?)
-- 
Andrew :)

Free Java Software Engineer
Red Hat, Inc. (http://www.redhat.com)

PGP Key: 248BDC07 (https://keys.indymedia.org/)
Fingerprint = EC5A 1F5E C0AD 1D15 8F1F  8F91 3B96 A578 248B DC07




More information about the distro-pkg-dev mailing list