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
parent
commit
d6ffdcdb1b
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      docker-mender-convert

2
docker-mender-convert

@ -26,7 +26,7 @@ MENDER_CONVERT_DIR="$(pwd)"
MENDER_CONVERT_VERSION=$(git_mender_convert_version) MENDER_CONVERT_VERSION=$(git_mender_convert_version)
# Create a unique work directory so we can run multiple containers in parallel # 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}') WORK_SUFFIX=$(echo $WORK_DIR | awk -F. '{print $NF}')
LOG_FILE="convert.log.${WORK_SUFFIX}" LOG_FILE="convert.log.${WORK_SUFFIX}"

Loading…
Cancel
Save