summaryrefslogtreecommitdiffstats
path: root/git/git-make-shared-bare.sh
blob: 2e358e6ff177281fb232a7abc7eb3b6f29f981ae (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
#! /bin/sh

gitinstall=/opt-linux-x86_64

make_git_bare() {
  name=$1
  shift
  mkdir $name.git 
  cd $name.git 
  git init --bare --shared=0664 
  cp -av $gitinstall/share/git-core/templates/hooks/post-update.sample hooks/post-update
  git update-server-info
  cd ..
}

# do a: 'newgrp jogl' first 
#make_git_bare gluegen
#make_git_bare jogl
#make_git_bare jogl-demos
#make_git_bare applet-launcher
#make_git_bare joal
#make_git_bare joal-demos
#make_git_bare jocl
#make_git_bare jocl-demos
#make_git_bare jogl-utils
#make_git_bare jogamp.org
#make_git_bare jogamp.org-SocialCoding
make_git_bare jogamp-scripting