repo.or.cz
/
girocco
/
mytab.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Rewrite property safely - use file locking
[girocco/mytab.git]
/
clonecheck.sh
blob
6744b986b51f5fa06b3a26a70ad0b9402dfa7bbc
1
#!/bin/sh
2
3
shopt -s
nullglob
4
5
cd
/
home
/
repo
/
repodata
/
to-clone
6
for
dir
in
*;
do
7
cp
-r
"
$dir
"
..
/
cloning
8
rm
-r
"
$dir
"
9
cd
..
/
cloning
10
/
home
/
repo
/
repomgr
/
clone.sh
"
$dir
"
11
exit
# next dir at next cron invocation, to be safe
12
done