kas-docker: fix hg argument for working directory
Signed-off-by: Henning Schild <henning.schild@siemens.com>
This commit is contained in:
parent
280a695ab3
commit
ffbfedaa2a
@ -160,7 +160,7 @@ done
|
||||
KAS_FILE_DIR=$(dirname ${FIRST_KAS_FILE})
|
||||
|
||||
REPO_DIR=$(git -C ${KAS_FILE_DIR} rev-parse --show-toplevel 2>/dev/null) \
|
||||
|| REPO_DIR=$(hg -cwd ${KAS_FILE_DIR} root 2>/dev/null) \
|
||||
|| REPO_DIR=$(hg --cwd ${KAS_FILE_DIR} root 2>/dev/null) \
|
||||
|| REPO_DIR=${KAS_FILE_DIR}
|
||||
|
||||
KAS_FILE=/repo/$(echo ${KAS_FILE} | sed 's|'${REPO_DIR}'/||g;s|:|:/repo/|g')
|
||||
|
Loading…
Reference in New Issue
Block a user