projects
/
scripts.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Cosmetics.
[scripts.git]
/
trash.sh
diff --git
a/trash.sh
b/trash.sh
index
30faa3a
..
550b574
100755
(executable)
--- a/
trash.sh
+++ b/
trash.sh
@@
-22,7
+22,7
@@
set -e
# Move things to a newly created trash directory in /tmp/. Re-use an
# existing one if it is less than 5min old.
# Move things to a newly created trash directory in /tmp/. Re-use an
# existing one if it is less than 5min old.
-TRASH=$(find /tmp/ -maxdepth 1 -mmin -5 -type d -name "trash*" | sort | tail -1)
+TRASH=$(find /tmp/ -maxdepth 1 -mmin -
1
5 -type d -name "trash*" | sort | tail -1)
if [[ ${TRASH} ]]; then
echo "Re-use ${TRASH}"
if [[ ${TRASH} ]]; then
echo "Re-use ${TRASH}"