Opened 10 years ago

Last modified 9 years ago

#7252 new Bugs

bootstrap.sh only works if called as ./bootstrap.sh

Reported by: Júlio Hoffimann <julio.hoffimann@…> Owned by: Vladimir Prus
Milestone: To Be Determined Component: Building Boost
Version: Boost 1.51.0 Severity: Problem
Keywords: bootstrap, linux build Cc:

Description

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}"

Change History (1)

comment:1 by viboes, 9 years ago

Component: buildBuilding Boost
Note: See TracTickets for help on using tickets.