Commit ae4a873a authored by Simon Brass's avatar Simon Brass
Browse files

bootstrap-whizard.sh: minor parenthes fixes.

parent 697dffd8
......@@ -50,8 +50,8 @@ function download_untar_pkg () {
function make_make_install () {
local config="${1}"
./configure --prefix=${PREFIX} ${config} && \
make -j${NPROC} -s V=0 && \
./configure --prefix="${PREFIX}" "${config}" && \
make -j"${NPROC}" -s V=0 && \
make install -s V=0
}
......@@ -67,7 +67,7 @@ build_generic () {
}
build_ocaml () {
local url=${1}
local url="${1}"
local name="$(basename ${url} .tar.gz)"
test -d "${name}" || download_untar_pkg "${url}"
cd "${name}" && \
......@@ -96,8 +96,8 @@ build_pythia8 () {
local url="${1}"
local config="${2:-}"
name="$(basename ${url} .tgz)"
test -d ${name} || download_untar_pkg "${url}"
cd ${name} && \
test -d "${name}" || download_untar_pkg "${url}"
cd "${name}" && \
make_make_install "${config}"
}
......@@ -279,8 +279,8 @@ WHIZARD_CONFIG=(
)
function main() {
mkdir -p ${LOG}
mkdir -p ${BUILD}
mkdir -p "${LOG}"
mkdir -p "${BUILD}"
cd ${BUILD} || (echo "cd: failed to go to ${BUILD}" && exit 2)
if test $# -eq 0 || test "$@" == ""; then
local modes=(autotools hepmc lhapdf fastjet pythia8 openloops bin)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment