shithub: 9scripts

Download patch

ref: f0b82480b1c9cd03cd94ae15148b376eab3c04ed
parent: 41335d8a8dfb0f192ad76c662b4f721d8af3d845
author: glenda <glenda@9front.local>
date: Sat Nov 28 01:52:16 EST 2020

added sys build

--- a/restore
+++ b/restore
@@ -1,5 +1,5 @@
 #!/bin/rc
-cp ./df ./email-login ./riostart ./clear ./chat ./gridstart ./screenshot $home/bin/rc
+cp ./df ./email-login ./riostart ./clear ./chat ./gridstart ./screenshot ./sysbuild $home/bin/rc
 cp color $home/
 ./install-go.rc
 ./pull9front
--- /dev/null
+++ b/sysbuild
@@ -1,0 +1,14 @@
+#! /bin/rc
+# Fulton Browne 11/27/2020 on 9front
+# You are free to distrbute and modify the source as you wish
+
+# Start a sub shell
+@{
+   rfork
+   # bind the source - change locaction as needed
+   bind -ac /disk/plan9front
+   cd /sys/src
+   mk clean
+   mk install
+   mk clean
+}