projects
/
brioche.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
234cc50
)
Replace lftp's call to 'rmdir' by calls to 'rm -rf'.
master
author
Amand Tihon
<amand.tihon@alrj.org>
Sat, 21 Feb 2009 11:46:31 +0000
(12:46 +0100)
committer
Amand Tihon
<amand.tihon@alrj.org>
Sat, 21 Feb 2009 11:46:31 +0000
(12:46 +0100)
brioche
patch
|
blob
|
history
changelog
patch
|
blob
|
history
diff --git
a/brioche
b/brioche
index 8e7e6322be1a26a7251f2afa900b2eaf3aee88cc..ca4501d9c167fd688e6faf93da33af68a530f083 100755
(executable)
--- a/
brioche
+++ b/
brioche
@@
-294,7
+294,7
@@
ftp_rotate()
# Build commands
# Remove oldest run
if [ "$FTP_KEEP" != "0" ]; then
- commands="$commands; rm
dir
${lastrun}"
+ commands="$commands; rm
-rf
${lastrun}"
# Move everything back
for run in `seq $FTP_KEEP -1 2`; do
@@
-305,7
+305,7
@@
ftp_rotate()
# Move "old latest" to run-1
commands="$commands; mv latest run-1"
else
- commands="$commands; rm
dir
latest"
+ commands="$commands; rm
-rf
latest"
fi
# Create "new latest" directory
diff --git
a/changelog
b/changelog
index 5f7b908a7d8687bb267713048bdb40d04aaf884d..14b80481a3614b477f2675d2b9a197ef228288e3 100644
(file)
--- a/
changelog
+++ b/
changelog
@@
-1,6
+1,6
@@
brioche 1.2
[ Amand Tihon]
-
+ * Replace lftp's call to 'rmdir' by calls to 'rm -rf'.
brioche 1.1