aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2013-10-01 14:18:58 +0200
committerMattias Andrée <maandree@operamail.com>2013-10-01 14:18:58 +0200
commit5a09f9eac905c72dcf3ddde9ae2c4b2bbbafcfd5 (patch)
tree32f7edc62add5c21a55b1ec3f21c11789eefc766
parentportability (diff)
downloadgates-of-tartaros-1380630025.tar.gz
gates-of-tartaros-1380630025.tar.bz2
gates-of-tartaros-1380630025.tar.xz
simplify switching to dash1380630025
Signed-off-by: Mattias Andrée <maandree@operamail.com>
-rw-r--r--Makefile5
-rw-r--r--README7
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: