shithub: 9front-config

ref: 28d1de9805fcadde8edf3dc246b295e0e1447197
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
	}
}