~ubuntu-branches/ubuntu/vivid/gccgo-5/vivid-updates

« back to all changes in this revision

Viewing changes to debian/bin-wrapper.in

  • Committer: Package Import Robot
  • Author(s): Matthias Klose
  • Date: 2015-02-26 08:23:14 UTC
  • mfrom: (1.1.2)
  • Revision ID: package-import@ubuntu.com-20150226082314-ajakcli5v70mb3r7
Tags: 5-20150226-1ubuntu1
Update to SVN 20150226.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#! /bin/sh
 
2
 
 
3
# some build tools are linked with a new libstdc++ and fail to run
 
4
# when building libstdc++.
 
5
 
 
6
if [ -n "$LD_LIBRARY_PATH" ]; then
 
7
  ma=$(dpkg-architecture -qDEB_BUILD_MULTIARCH)
 
8
  export LD_LIBRARY_PATH="/lib/$ma:/usr/lib/$ma:/lib:/usr/lib:$LD_LIBRARY_PATH"
 
9
fi
 
10
 
 
11
exec /usr/bin/$(basename $0) "$@"