diff --git a/scripts/ldmx-compile.sh b/scripts/ldmx-compile.sh index a93126bf1..57e7f7751 100755 --- a/scripts/ldmx-compile.sh +++ b/scripts/ldmx-compile.sh @@ -19,5 +19,5 @@ fi echo "-- Compiling ldmx-sw in ${LDMX_COMPILE_BUILD} with ${LDMX_COMPILE_CORES} cores" # Compile ldmx-sw -cmake -B ${LDMX_COMPILE_BUILD}/build -S ${LDMX_COMPILE_BUILD} +cmake -B ${LDMX_COMPILE_BUILD}/build -S ${LDMX_COMPILE_BUILD} $@ cmake --build ${LDMX_COMPILE_BUILD}/build --target install -j=${LDMX_COMPILE_CORES} diff --git a/scripts/ldmx-env.sh b/scripts/ldmx-env.sh index 2f3c1e896..d9fc1b716 100644 --- a/scripts/ldmx-env.sh +++ b/scripts/ldmx-env.sh @@ -554,7 +554,7 @@ __ldmx_compile() { ############################################################################### __ldmx_recompFire() { - ldmx . ${LDMX_BASE}/ldmx-sw/scripts/ldmx-recompileAndFire.sh $1 + ldmx . ${LDMX_BASE}/ldmx-sw/scripts/ldmx-recompileAndFire.sh $@ } ############################################################################### diff --git a/scripts/ldmx-recompileAndFire.sh b/scripts/ldmx-recompileAndFire.sh index cdf68789a..573275265 100755 --- a/scripts/ldmx-recompileAndFire.sh +++ b/scripts/ldmx-recompileAndFire.sh @@ -8,7 +8,6 @@ # or # ldmx setenv LDMX_COMPILE_BUILD= -FIREINPUT=$1 if [ -z "$LDMX_COMPILE_CORES" ]; then LDMX_COMPILE_CORES=$(nproc) @@ -24,4 +23,4 @@ echo "-- Compiling ldmx-sw in ${LDMX_COMPILE_BUILD} with ${LDMX_COMPILE_CORES} c cmake -B ${LDMX_COMPILE_BUILD}/build -S ${LDMX_COMPILE_BUILD} cmake --build ${LDMX_COMPILE_BUILD}/build --target install -j=${LDMX_COMPILE_CORES} # Run fire on the input config -fire $FIREINPUT +fire $@