Skip to content

Commit

Permalink
tidy up rm options [ci skip]
Browse files Browse the repository at this point in the history
Follow-up to 053daa1
  • Loading branch information
vszakats committed Sep 2, 2024
1 parent 0ea36ec commit 2f9a102
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion curl.sh
Original file line number Diff line number Diff line change
Expand Up @@ -544,7 +544,7 @@ _VER="$1"
# (as of curl 7.83.1).
out="../curl-version-${_CPUPUB}.txt"
${_RUN_BIN} "${bin}" --disable --version | sed 's/\r//g' | tee "${out}" || true
[ -s "${out}" ] || rm -r -f "${out}"
[ -s "${out}" ] || rm -f "${out}"
fi
# Create package
Expand Down
2 changes: 1 addition & 1 deletion trurl.sh
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ _VER="$1"
DYLD_LIBRARY_PATH="$(pwd)/../curl/${_PP}/lib" \
${_RUN_BIN} "${bin}" --version | sed 's/\r//g' | tee "${out}" || true
unset LD_DEBUG
[ -s "${out}" ] || rm -r -f "${out}"
[ -s "${out}" ] || rm -f "${out}"

if [ "${CW_TURL_TEST:-}" = '1' ] && \
[ "${_RUN_BIN}" != 'true' ]; then
Expand Down

0 comments on commit 2f9a102

Please sign in to comment.