diff --git a/.drone.yml b/.drone.yml index 18102b2..ea8e2e3 100644 --- a/.drone.yml +++ b/.drone.yml @@ -55,7 +55,7 @@ steps: depends_on: - install - test trash_restore - image: ubuntu:latest + image: bash:latest pull: if-not-exists commands: - /bin/bash diff --git a/trash.sh b/trash.sh index 5d2c236..30b8b99 100644 --- a/trash.sh +++ b/trash.sh @@ -19,8 +19,7 @@ trash_put() { trash_empty() { echo "Delete all $(find "$HOME"/.trash/ ! -name ".filepaths" | wc -l) files in trash?" - # shellcheck disable=SC2086 - \rm -Ir $HOME/.trash/* && echo >"$FILE_PATHS_FILE" + \rm -Ir "$HOME"/.trash/* && echo >"$FILE_PATHS_FILE" } trash_restore() {