Subject: [Boost-bugs] [Boost C++ Libraries] #7252: bootstrap.sh only works if called as ./bootstrap.sh
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2012-08-21 00:23:56
#7252: bootstrap.sh only works if called as ./bootstrap.sh
---------------------------------------------------------+------------------
Reporter: Júlio Hoffimann <julio.hoffimann@â¦> | Owner: vladimir_prus
Type: Bugs | Status: new
Milestone: To Be Determined | Component: build
Version: Boost 1.51.0 | Severity: Problem
Keywords: bootstrap, linux build |
---------------------------------------------------------+------------------
Sometimes we need to be able to call bootstrap.sh from outside the Boost
root directory. The following tiny patch allows the bootstrap.sh script to
be called from anywhere:
Replace the line 184:
my_dir="."
by
my_dir="${0%/bootstrap.sh}"
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/7252> Boost C++ Libraries <http://www.boost.org/> Boost provides free peer-reviewed portable C++ source libraries.
This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:10 UTC