* [PATCH] build-perf-test-wrapper.sh: fix issues with non-existing path arguments
@ 2017-01-27 13:24 Markus Lehtonen
0 siblings, 0 replies; only message in thread
From: Markus Lehtonen @ 2017-01-27 13:24 UTC (permalink / raw)
To: openembedded-core
Without the '-s' option realpath will error out if the given path does
not exist.
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
---
scripts/contrib/build-perf-test-wrapper.sh | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/scripts/contrib/build-perf-test-wrapper.sh b/scripts/contrib/build-perf-test-wrapper.sh
index e03ea97..affd242 100755
--- a/scripts/contrib/build-perf-test-wrapper.sh
+++ b/scripts/contrib/build-perf-test-wrapper.sh
@@ -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
--
2.10.2
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2017-01-27 13:24 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-01-27 13:24 [PATCH] build-perf-test-wrapper.sh: fix issues with non-existing path arguments Markus Lehtonen
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox