summaryrefslogtreecommitdiffstats
path: root/scripts/contrib
diff options
context:
space:
mode:
authorMarkus Lehtonen <markus.lehtonen@linux.intel.com>2017-01-27 15:24:25 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2017-02-15 20:06:41 -0800
commitf4ba140c59793ddb5405fdf5da608c4959c68d96 (patch)
tree86f7bd7359699106e5a00811e538e53f2ea1e722 /scripts/contrib
parent1440b3e9aa98c4b5f846226c4a5b433325313907 (diff)
downloadpoky-f4ba140c59793ddb5405fdf5da608c4959c68d96.tar.gz
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. (From OE-Core rev: b80aba08ba56c7e8f847966b3593f6cedd1b1ee5) Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/contrib')
-rwxr-xr-xscripts/contrib/build-perf-test-wrapper.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/contrib/build-perf-test-wrapper.sh b/scripts/contrib/build-perf-test-wrapper.sh
index 7788bb1d1a..f192fcfa92 100755
--- a/scripts/contrib/build-perf-test-wrapper.sh
+++ b/scripts/contrib/build-perf-test-wrapper.sh
@@ -44,13 +44,13 @@ while getopts "ha:c:C:w:" opt; do
44 h) usage 44 h) usage
45 exit 0 45 exit 0
46 ;; 46 ;;
47 a) archive_dir=`realpath "$OPTARG"` 47 a) archive_dir=`realpath -s "$OPTARG"`
48 ;; 48 ;;
49 c) commitish=$OPTARG 49 c) commitish=$OPTARG
50 ;; 50 ;;
51 C) results_repo=`realpath -s "$OPTARG"` 51 C) results_repo=`realpath -s "$OPTARG"`
52 ;; 52 ;;
53 w) base_dir=`realpath "$OPTARG"` 53 w) base_dir=`realpath -s "$OPTARG"`
54 ;; 54 ;;
55 *) usage 55 *) usage
56 exit 1 56 exit 1