From 5a09f9eac905c72dcf3ddde9ae2c4b2bbbafcfd5 Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Tue, 1 Oct 2013 14:18:58 +0200 Subject: simplify switching to dash MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- Makefile | 5 +++-- README | 7 +++---- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/Makefile b/Makefile index 6b9b418..be0eca9 100644 --- a/Makefile +++ b/Makefile @@ -9,7 +9,8 @@ COMMAND = got PKGNAME = gates-of-tartaros SSH = ssh -BASH_SHEBANG = /usr/bin/env bash +SH = bash +SH_SHEBANG = /usr/bin/env $(SH) ECHO = /usr/bin/echo EXAMPLES = lower-left-ponysay allow-uppercase issue-file commands no-empty-user @@ -43,7 +44,7 @@ cmd: got.install got.install: got cp "$<" "$@" - sed -i 's:#!/usr/bin/env bash:#!$(BASH_SHEBANG):g' "$@" + sed -i 's:#!/usr/bin/env bash:#!$(SH_SHEBANG):g' "$@" sed -i 's:@prefix@:$(PREFIX):g' "$@" sed -i 's:@dev@:$(DEV):g' "$@" sed -i 's:@etc@:$(SYSCONF):g' "$@" diff --git a/README b/README index c336168..b131d87 100644 --- a/README +++ b/README @@ -7,10 +7,9 @@ gates-of-tartaros uses more memory than agetty. You can configure your install to use dash instead of bash by running make with the -argument BASH_SHEBANG="/usr/bin/env dash". -Doing so will more halve the memory using, -reducing the memory usage to slightly below -that of agetty. +argument SH=dash. Doing so will more halve +the memory using, reducing the memory usage +to slightly below that of agetty. To log in with over SSH type: -- cgit v1.2.3-70-g09d2