mirror of
https://git.yoctoproject.org/poky
synced 2026-03-11 09:49:41 +01:00
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>
This commit is contained in:
committed by
Richard Purdie
parent
1440b3e9aa
commit
f4ba140c59
@@ -44,13 +44,13 @@ 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 -s "$OPTARG"`
|
||||
;;
|
||||
w) base_dir=`realpath "$OPTARG"`
|
||||
w) base_dir=`realpath -s "$OPTARG"`
|
||||
;;
|
||||
*) usage
|
||||
exit 1
|
||||
|
||||
Reference in New Issue
Block a user