aboutsummaryrefslogtreecommitdiff
path: root/extra/rc
diff options
context:
space:
mode:
Diffstat (limited to 'extra/rc')
-rwxr-xr-xextra/rc/build6
-rw-r--r--extra/rc/meta3
-rw-r--r--extra/rc/version2
3 files changed, 7 insertions, 4 deletions
diff --git a/extra/rc/build b/extra/rc/build
index 300caaf6..c3ecedbb 100755
--- a/extra/rc/build
+++ b/extra/rc/build
@@ -5,7 +5,7 @@ for patch in *.patch; do
done
# Change the location of rcmain to the /etc directory.
-sed -i 's|/lib/rcmain|/etc/rcmain|;s|PREFIX||' unix.c
+clsed 's|/lib/rcmain|/etc/rcmain|;s|PREFIX||' unix.c
# If readline is available, build with it.
if cpt-list readline >/dev/null 2>&1; then
@@ -40,5 +40,5 @@ mkdir -p "$1/usr/bin"
havefork.c \
"prompt-$readline.c" $LIBS
-install -Dm644 rc.1 "$1/usr/share/man/man1/rc.1"
-install -Dm644 rcmain.unix "$1/etc/rcmain"
+clman -d "$1" rc.1
+clinst -Dm644 rcmain.unix "$1/etc/rcmain"
diff --git a/extra/rc/meta b/extra/rc/meta
new file mode 100644
index 00000000..cc67b40b
--- /dev/null
+++ b/extra/rc/meta
@@ -0,0 +1,3 @@
+description: Plan9 rc shell
+license: LPL-1.02
+maintainer: Cem Keylan <cem@carbslinux.org>
diff --git a/extra/rc/version b/extra/rc/version
index 5aee2628..a383ea1a 100644
--- a/extra/rc/version
+++ b/extra/rc/version
@@ -1 +1 @@
-50b729e65d 1
+git 1