From: Ben Gras Date: Mon, 12 Sep 2005 11:43:30 +0000 (+0000) Subject: Added version X-Git-Tag: v3.1.0~121 X-Git-Url: http://zhaoyanbai.com/repos/%22http:/www.isc.org/icons/expt.png?a=commitdiff_plain;h=a70cf304ec1cd8f758de8c4191ed8aecf15eaf42;p=minix.git Added version --- diff --git a/commands/scripts/Makefile b/commands/scripts/Makefile index d367b6e92..feee89308 100755 --- a/commands/scripts/Makefile +++ b/commands/scripts/Makefile @@ -42,6 +42,7 @@ usr: \ /usr/bin/spell \ /usr/bin/srccrc \ /usr/bin/svclog \ + /usr/bin/version \ /usr/bin/whatis \ /usr/bin/apropos \ /usr/bin/whereis \ @@ -133,6 +134,9 @@ clean: /usr/bin/svclog: svclog.sh install -m 755 -c -o bin $? $@ +/usr/bin/version: version.sh + install -m 755 -c -o bin $? $@ + /usr/bin/whatis: whatis.sh install -m 755 -c -o bin $? $@ diff --git a/commands/scripts/version.sh b/commands/scripts/version.sh new file mode 100644 index 000000000..0838377d4 --- /dev/null +++ b/commands/scripts/version.sh @@ -0,0 +1,2 @@ +#!/bin/sh +cat /etc/version