aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2013-11-19 00:23:59 +0100
committerMattias Andrée <maandree@operamail.com>2013-11-19 00:23:59 +0100
commit11b8c55bc9c9ac3639cda50e5f3e15d6eb4443a3 (patch)
tree6d0cdb5a627020c64d77207fbc2594ff6cf9b89e /Makefile
parentm (diff)
downloadlibpassphrase-11b8c55bc9c9ac3639cda50e5f3e15d6eb4443a3.tar.gz
libpassphrase-11b8c55bc9c9ac3639cda50e5f3e15d6eb4443a3.tar.bz2
libpassphrase-11b8c55bc9c9ac3639cda50e5f3e15d6eb4443a3.tar.xz
m + spawn shell
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to '')
-rw-r--r--Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 4e29083..6e73c52 100644
--- a/Makefile
+++ b/Makefile
@@ -16,7 +16,8 @@ _SS = $(SBIN)
TTY_GROUP = tty
DEFAULT_HOME = /
-DEFAULT_SHELL = $(BIN)/sh
+DEFAULT_SH = sh
+DEFAULT_SHELL = $(BIN)/$(DEFAULT_SH)
DEFAULT_TERM = dumb
VCS = $(DEV)/vcs
VCSA = $(DEV)/vcsa
@@ -28,7 +29,7 @@ VCS_LEN = $(shell vcs="$(VCS)" ; echo "$${$(H)vcs}")
VCSA_LEN = $(shell vcsa="$(VCSA)" ; echo "$${$(H)vcsa}")
VCS_VCSA_LEN = $(shell (echo $(VCS_LEN) ; echo $(VCSA_LEN)) | sort -n | tail -n 1)
-STR_DEFS = TTY_GROUP DEFAULT_HOME DEFAULT_SHELL DEFAULT_TERM PATH PATH_ROOT VCS VCSA
+STR_DEFS = TTY_GROUP DEFAULT_HOME DEFAULT_SH DEFAULT_SHELL DEFAULT_TERM PATH PATH_ROOT VCS VCSA
INT_DEFS = VCS_LEN VCSA_LEN VCS_VCSA_LEN
STR_CPPFLAGS = $(foreach D, $(STR_DEFS), -D'$(D)="$($(D))"')