From d325d2226cf55b63037dc62cefb7fa952d770d50 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?John=20Ankarstr=C3=B6m?= Date: Sun, 31 Jan 2021 14:14:05 +0000 Subject: Bind $home/bin/rc to rc/ instead of ./ --- rc/mkdircp | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100755 rc/mkdircp (limited to 'rc/mkdircp') diff --git a/rc/mkdircp b/rc/mkdircp new file mode 100755 index 0000000..2236f24 --- /dev/null +++ b/rc/mkdircp @@ -0,0 +1,8 @@ +#!/bin/rc -e +if(! ~ $#* 2){ + echo usage: $0 fromdir todir >[1=2] + exit usage +} +if(! test -d $2) + mkdir $2 +exec dircp $1 $2 -- cgit v1.2.3