Browse Source
Merge pull request #430 from TheYoctoJester/macOS-fixes
docker-mender-convert: fix mktemp invocation for macOS/*BSD
change-dependabot-prefix
Lluis Campos
3 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
1 deletions
-
docker-mender-convert
|
|
@ -26,7 +26,7 @@ MENDER_CONVERT_DIR="$(pwd)" |
|
|
|
MENDER_CONVERT_VERSION=$(git_mender_convert_version) |
|
|
|
|
|
|
|
# Create a unique work directory so we can run multiple containers in parallel |
|
|
|
WORK_DIR=$(mktemp -d -p $(pwd) -t work.XXXX) |
|
|
|
WORK_DIR=$(mktemp -d $(pwd)/work.XXXX) |
|
|
|
WORK_SUFFIX=$(echo $WORK_DIR | awk -F. '{print $NF}') |
|
|
|
LOG_FILE="convert.log.${WORK_SUFFIX}" |
|
|
|
|
|
|
|