change image from ubuntu to bash
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
6ec5aa8ded
commit
f3facd0cd3
2
trash.sh
2
trash.sh
@ -23,7 +23,7 @@ trash_empty() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
trash_restore() {
|
trash_restore() {
|
||||||
for FILE_TO_RESTORE in "$@"; do
|
for FILE_TO_RESTORE in $@; do
|
||||||
# Get old filepath for restore
|
# Get old filepath for restore
|
||||||
OLD_PATH=$(grep "$FILE_TO_RESTORE" "$FILE_PATHS_FILE" | cut -d ' ' -f2)
|
OLD_PATH=$(grep "$FILE_TO_RESTORE" "$FILE_PATHS_FILE" | cut -d ' ' -f2)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user