Merge "Reproducer don't fail if workspace path doesn't exist yet"

This commit is contained in:
Zuul 2018-07-23 15:31:00 +00:00 committed by Gerrit Code Review
commit 67ff889519

View File

@ -77,7 +77,8 @@ while [ "x$1" != "x" ]; do
case "$1" in
--workspace|-w)
WORKSPACE=$(realpath $2)
# realpath fails if /some/path doesn't exist. It is created l8r
WORKSPACE=$(realpath $2 || echo -n $2)
shift
;;