[Lsb-messages] /var/www/bzr/lsb/devel/puppet-lsb r249: Fix gcc-wrapper to work with g++ as well.

Jeff Licquia licquia at linuxfoundation.org
Thu Mar 15 01:03:52 UTC 2012


------------------------------------------------------------
revno: 249
committer: Jeff Licquia <licquia at linuxfoundation.org>
branch nick: puppet-lsb
timestamp: Wed 2012-03-14 21:03:52 -0400
message:
  Fix gcc-wrapper to work with g++ as well.
modified:
  modules/buildbot/templates/gcc-wrapper.erb
-------------- next part --------------
=== modified file 'modules/buildbot/templates/gcc-wrapper.erb'
--- a/modules/buildbot/templates/gcc-wrapper.erb	2012-03-15 01:00:04 +0000
+++ b/modules/buildbot/templates/gcc-wrapper.erb	2012-03-15 01:03:52 +0000
@@ -1,7 +1,7 @@
 #!/bin/bash
 
 if [ `arch` == "<%= smallwordarch %>" ]; then
-        /usr/bin/gcc-4.3 <%= gccsmallword %> "$@"
+        ${0##/*/}-4.3 <%= gccsmallword %> "$@"
 else
-        /usr/bin/gcc-4.3 "$@"
+        ${0##/*/}-4.3 "$@"
 fi



More information about the lsb-messages mailing list