diff --git a/build.sh b/build.sh index 2a4df5e..b374e4d 100755 --- a/build.sh +++ b/build.sh @@ -72,7 +72,7 @@ for ENTRY in "${INCOMING_DIR}"/*"${READY_SUFFIX}"; do FILENAME_DEB=$(basename --suffix="${READY_SUFFIX}" "${ENTRY}") BASEDIRPATH=$(dirname "${ENTRY}") mv "${BASEDIRPATH}/${FILENAME_DEB}" "${MAIN_DIR}/${FILENAME_DEB}" - rm "${ENTRY}" + rm "${ENTRY}" "${BASEDIRPATH}/${FILENAME_DEB}" fi done