aboutsummaryrefslogtreecommitdiff
path: root/lib/moveplan9.sh
blob: 631d41cb03de8535e91eac228ee017f09fe38fee (plain)
1
2
3
4
5
6
7
8
9
10
#!/bin/sh

p=`cleanname $PLAN9`
cd $PLAN9
echo "
	X ,s;/usr/local/plan9($|/|});$p\\1;g
	X/'/w
	q
" | sam -d `cat lib/moveplan9.files` >/dev/null 2>&1