From a70cf304ec1cd8f758de8c4191ed8aecf15eaf42 Mon Sep 17 00:00:00 2001 From: Ben Gras Date: Mon, 12 Sep 2005 11:43:30 +0000 Subject: [PATCH] Added version --- commands/scripts/Makefile | 4 ++++ commands/scripts/version.sh | 2 ++ 2 files changed, 6 insertions(+) create mode 100644 commands/scripts/version.sh 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 -- 2.44.0