Changeset e054fd4 in lab.git for TipAndDoc/tools/tool/buildrepos.sh
- Timestamp:
- Dec 8, 2011 11:39:54 AM (13 years ago)
- Branches:
- master, trunk
- Children:
- dc0e430
- Parents:
- 4be622f
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
TipAndDoc/tools/tool/buildrepos.sh
r7e593aa re054fd4 31 31 ln -s ${HOOKSKEL}/${HOOK} ${NEWREPOS}/hooks 32 32 done 33 34 if [ "$3" != "-noinit" ]; then 35 # initial commit 36 svn mkdir -m "REPOS init." file://${NEWREPOS}/trunk file://${NEWREPOS}/tags file://${NEWREPOS}/branches file://${NEWREPOS}/vendor 37 fi 38 39 # set permission 33 40 mkdir -p ${NEWREPOS}/dav 34 41 chgrp -R www-data ${NEWREPOS} 35 chmod -R o-rw ${NEWREPOS}36 chmod -R g+w s${NEWREPOS}/db37 chmod -R g+ws${NEWREPOS}/dav42 chmod -R o-rwx ${NEWREPOS} 43 chmod -R g+wX ${NEWREPOS}/db 44 chmod g+ws ${NEWREPOS}/dav 38 45 39 46 # make repos backup … … 42 49 chmod -R g+ws ${REPOSBACKUP} 43 50 44 if [ "$3" != "-noinit" ]; then45 # initial commit46 svn mkdir -m "REPOS init." file://${NEWREPOS}/trunk file://${NEWREPOS}/tags file://${NEWREPOS}/branches file://${NEWREPOS}/vendor47 fi48 49 51 50 52 echo "done"
Note: See TracChangeset
for help on using the changeset viewer.