build-perf-test-wrapper.sh: fix issues with non-existing path arguments
PATCH 1/1 build-perf-test-wrapper.sh: fix issues with non-existing path arguments
Without the '-s' option realpath will error out if the given path does not exist.
Signed-off-by Markus Lehtonen <[email protected]>
--- scripts/contrib/build-perf-test-wrapper.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)
scripts/contrib/build-perf-test-wrapper.sh +3 -3
@@ -44,14 +44,14 @@ while getopts "ha:c:C:w:" opt; do h) usage exit 0 ;; - a) archive_dir=`realpath "$OPTARG"` + a) archive_dir=`realpath -s "$OPTARG"` ;; c) commitish=$OPTARG ;; - C) results_repo=`realpath "$OPTARG"` + C) results_repo=`realpath -s "$OPTARG"` commit_results=("--commit-results" "$results_repo") ;; - w) base_dir=`realpath "$OPTARG"` + w) base_dir=`realpath -s "$OPTARG"` ;; *) usage exit 1
Signature · 1 line
2.10.2