git://git.onelab.eu
/
infrastructure.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
turn off py2 builds, that worked all right with all the tags
[infrastructure.git]
/
scripts
/
git-check.sh
diff --git
a/scripts/git-check.sh
b/scripts/git-check.sh
index
ca3e738
..
ef395ed
100755
(executable)
--- a/
scripts/git-check.sh
+++ b/
scripts/git-check.sh
@@
-59,8
+59,10
@@
function check_permissions () {
# accept args like plcapi or plcapi.git
b=$(basename $arg .git)
git=${b}.git
# accept args like plcapi or plcapi.git
b=$(basename $arg .git)
git=${b}.git
- echo -n "$git "
- chown -R root:onelab $git
+ owner=root:onelab
+ if [ -f $git/owner ] ; then owner=$(cat $git/owner); fi
+ echo -n "$git ($owner) "
+ chown -R $owner $git
chmod -R g+w,o-w $git
done
echo ""
chmod -R g+w,o-w $git
done
echo ""