File: update_sharedstate

package info (click to toggle)
sugar-calculate-activity 25-2
  • links: PTS, VCS
  • area: main
  • in suites: lenny
  • size: 1,244 kB
  • ctags: 358
  • sloc: python: 2,051; makefile: 24; sh: 10
file content (11 lines) | stat: -rwxr-xr-x 221 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
#!/bin/sh
SSDIR=sharedstate.git
SSGIT=git://dev.laptop.org/projects/sharedstate
if [ -e ${SSDIR} ]; then
	cd ${SSDIR}
	git-pull ${SSGIT}
	cd ..
else
	git-clone ${SSGIT} ${SSDIR}
	ln -s ${SSDIR}/sharedstate sharedstate
fi