projects
/
cloudstore.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d9a7db8
)
fix paths to be relative
author
Domagoj Tršan
<domagoj.trsan@calyx.hr>
Thu, 12 Apr 2012 09:01:28 +0000
(11:01 +0200)
committer
Dobrica Pavlinusic
<dpavlin@rsync1.maxxo.com>
Thu, 12 Apr 2012 09:01:28 +0000
(11:01 +0200)
gearman/list_files
patch
|
blob
|
history
diff --git
a/gearman/list_files
b/gearman/list_files
index
d4ce693
..
03fae20
100755
(executable)
--- a/
gearman/list_files
+++ b/
gearman/list_files
@@
-6,7
+6,7
@@
while read path ; do
if [ -e $path/.meta/files ] ; then
cat $path/.meta/files
else
-
find -L $path
-printf "%y %s %p\n" | tee $path/.meta/files.new && mv $path/.meta/files.new $path/.meta/files
+
cd $path && find -L .
-printf "%y %s %p\n" | tee $path/.meta/files.new && mv $path/.meta/files.new $path/.meta/files
fi
echo `date +%Y-%m-%d.%H:%M:%S`" list_files [$path] END" >&2
done