From d2f09a7464043b6361f9e7c418c70d4f9e566455 Mon Sep 17 00:00:00 2001 From: Anthony Scemama Date: Mon, 24 Feb 2020 20:02:09 +0100 Subject: [PATCH] Default rc --- etc/irpf90.rc | 2 +- etc/ninja.rc | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/etc/irpf90.rc b/etc/irpf90.rc index 8bc59bcc..05420e05 100644 --- a/etc/irpf90.rc +++ b/etc/irpf90.rc @@ -1,6 +1,6 @@ # Configuration of IRPF90 package -IRPF90=$(command -v irpf90) +IRPF90=${IRPF90:-$(command -v irpf90)} if [[ ${IRPF90}.x == ".x" ]] ; then IRPF90=${IRPF90_PATH}/bin/irpf90 diff --git a/etc/ninja.rc b/etc/ninja.rc index cd4f6bff..5860af14 100644 --- a/etc/ninja.rc +++ b/etc/ninja.rc @@ -1,6 +1,6 @@ # Configuration for the Ninja package -NINJA=$(command -v ninja) +NINJA=${NINJA:-$(command -v ninja)} if [[ ${NINJA}.x == ".x" ]] ; then NINJA=${QP_ROOT}/bin/ninja