shithub: 9front-config

ref: 908cf58516331f7334225ecbc81e8eb2c0fa0c04
dir: /fetch/

View raw version
#!/bin/rc

mkdir -p $home/src
cd $home/src
repositories=(\
gits://shithub.us/ori/Nail         \
gits://shithub.us/kvik/clone       \
gits://shithub.us/sigrid/riow      \
gits://shithub.us/sigrid/bar       \
gits://shithub.us/sigrid/femtolisp \
https://github.com/netsurf-plan9/nsport)

for(i in $repositories) {
	switch($1) {
	case update
		 cd `{basename $i}; git/pull; cd ..;
	case clone
		git/clone $i
	case *
		echo what; exit
	}
}