Warning: Attempt to read property "date" on null in /usr/local/www/websvn.planix.org/blame.php on line 247

Warning: Attempt to read property "msg" on null in /usr/local/www/websvn.planix.org/blame.php on line 247
WebSVN – planix.SVN – Blame – /os/branches/planix-v0/sys/src/9/port/mkroot – Rev 2

Subversion Repositories planix.SVN

Rev

Go to most recent revision | Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
2 - 1
#!/bin/rc
2
 
3
rfork e
4
echo mkroot $*
5
if(! ~ $#* 2){
6
	echo usage: mkroot path name >[2=1]
7
	exit 1
8
}
9
n=`{basename $1}
10
cp $1 $2.out
11
t=`{file $2.out}
12
if(~ $"t *executable*)
13
	strip $2.out
14
aux/data2s $2 < $2.out > $2.root.s
15
echo mkroot $* done