summaryrefslogtreecommitdiff
path: root/package/sash
diff options
context:
space:
mode:
authormirabilos <tg@mirbsd.org>2017-11-18 12:44:11 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2017-11-19 09:09:27 +0100
commit3c3ff868b2a7650944c3251c1d434e9ce338987e (patch)
tree726f2d498777ed710fcf0521139352a6430d1ec7 /package/sash
parent864f03819dd5108af31f9a2bc4315dfe58b0c8cb (diff)
OpenADK edition, and make buildable on desktop GNU/Linux
Signed-off-by: mirabilos <tg@mirbsd.org>
Diffstat (limited to 'package/sash')
-rw-r--r--package/sash/src/libsash/Makefile1
-rw-r--r--package/sash/src/sash.c3
2 files changed, 2 insertions, 2 deletions
diff --git a/package/sash/src/libsash/Makefile b/package/sash/src/libsash/Makefile
index 03a2fafae..3d6699a72 100644
--- a/package/sash/src/libsash/Makefile
+++ b/package/sash/src/libsash/Makefile
@@ -1,5 +1,6 @@
LIB = libsash.a
+RANLIB ?= ranlib
CHOPSRC = utils.c
LIBOBJS = intflag.o modestring.o timestring.o isadir.o copyfile.o \
buildname.o expandwildcards.o namesort.o match.o makeargs.o \
diff --git a/package/sash/src/sash.c b/package/sash/src/sash.c
index 3f2ce7de5..3abee9121 100644
--- a/package/sash/src/sash.c
+++ b/package/sash/src/sash.c
@@ -20,7 +20,6 @@
#include <sys/time.h>
#include <sys/wait.h>
-static const char version[] = "OpenADK";
static const char enoent_msg[] = "Bad command or file name";
static const char unkerr_msg[] = "Unknown error!";
@@ -215,7 +214,7 @@ int main(argc, argv, env)
printf("Shell invoked to run file: %s\n",argv[1]);
}
else
- printf("\nSash command shell (version %s)\n", version);
+ printf("\nSash command shell (OpenADK edition)\n");
fflush(stdout);
signal(SIGINT, catchint);