summaryrefslogtreecommitdiff
path: root/src/abslibre-tools/createworkdir
diff options
context:
space:
mode:
Diffstat (limited to 'src/abslibre-tools/createworkdir')
-rwxr-xr-xsrc/abslibre-tools/createworkdir6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/abslibre-tools/createworkdir b/src/abslibre-tools/createworkdir
index e98da3e..59cb0f3 100755
--- a/src/abslibre-tools/createworkdir
+++ b/src/abslibre-tools/createworkdir
@@ -28,9 +28,9 @@ check_vars libretools WORKDIR REPOS ABSLIBREGIT || exit 1
[[ ! -d ${WORKDIR} ]] && { # Create the WORKDIR
- msg "Creating WORKDIR on ${WORKDIR}"
+ msg "Creating WORKDIR on %s" "${WORKDIR}"
mkdir -p ${WORKDIR} ||{
- error "Could not create ${WORKDIR}"; exit 1
+ error "Could not create %s" "${WORKDIR}"; exit 1
}
}
@@ -39,7 +39,7 @@ for _repo in "${REPOS[@]}"; do # Create the staging dirs
[[ ! -d ${WORKDIR}/staging/${_repo} ]] && {
mkdir -p ${WORKDIR}/staging/${_repo} || {
- error "Can't create ${WORKDIR}/staging/${_repo}"
+ error "Can't create %s" "${WORKDIR}/staging/${_repo}"
exit 1
}
}