[Lsb-messages] /var/www/bzr/lsb/devel/puppet-lsb r458: When we wrap gcc/g++/etc., make sure we call the right one.

Jeff Licquia licquia at linuxfoundation.org
Tue Apr 23 06:59:16 UTC 2013


------------------------------------------------------------
revno: 458
committer: Jeff Licquia <licquia at linuxfoundation.org>
branch nick: puppet-lsb
timestamp: Tue 2013-04-23 02:59:16 -0400
message:
  When we wrap gcc/g++/etc., make sure we call the right one.
modified:
  modules/buildbot/templates/gcc-wrapper.erb
-------------- next part --------------
=== modified file 'modules/buildbot/templates/gcc-wrapper.erb'
--- a/modules/buildbot/templates/gcc-wrapper.erb	2013-04-09 14:34:45 +0000
+++ b/modules/buildbot/templates/gcc-wrapper.erb	2013-04-23 06:59:16 +0000
@@ -1,7 +1,7 @@
 #!/bin/bash
 
 if [ `arch` == "<%= smallwordarch %>" ]; then
-        <%= realgcc %> <%= gccsmallword %> "$@"
+        /usr/bin/$(basename $0) <%= gccsmallword %> "$@"
 else
-        <%= realgcc %> "$@"
+        /usr/bin/$(basename $0) "$@"
 fi



More information about the lsb-messages mailing list