Without the '-s' option realpath will error out if the given path does not exist.
Signed-off-by: Markus Lehtonen <markus.lehto...@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 -- _______________________________________________ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core