Browse Source

Fixing output in workspace cleanup

pull/46/head
Martin Stockhammer 5 years ago
parent
commit
e45634e2c9
1 changed files with 6 additions and 4 deletions
  1. 6
    4
      src/ci/scripts/prepareWorkspace.sh

+ 6
- 4
src/ci/scripts/prepareWorkspace.sh View File

@@ -44,10 +44,12 @@ if [ -e "${TMP_DIRECTORY}" ]; then
fi
mkdir -p "${TMP_DIRECTORY}"

if [ -d "${REPO_DIR}" ]; then
rm -rf "${REPO_DIR}"
else
echo "WARNING: Directory not found ${REPO_DIR}"
if [ ! -z "${REPO_DIR}" ]; then
if [ -d "${REPO_DIR}" ]; then
rm -rf "${REPO_DIR}"
else
echo "WARNING: Directory not found ${REPO_DIR}"
fi
fi

for i in ${ATTIC_DIRS}; do

Loading…
Cancel
Save