diff options
author | Mike Frysinger <vapier@gentoo.org> | 2014-01-25 00:33:48 -0500 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2014-03-13 19:56:01 -0400 |
commit | b93834ef81bcc3ba41609b899d432c96adae9eda (patch) | |
tree | eaef6f5827f4dfaf35d7163c40d3d1031dbdf45b /elf/Makefile | |
parent | f3a4632a3f5bae8d0bdee2738afcd2d6e715ea99 (diff) | |
download | glibc-b93834ef81bcc3ba41609b899d432c96adae9eda.tar.gz glibc-b93834ef81bcc3ba41609b899d432c96adae9eda.tar.xz glibc-b93834ef81bcc3ba41609b899d432c96adae9eda.zip |
sotruss: drop ksh support and add basic POSIX shell support
This script works fine under bash as-is, so we don't need ksh anymore. Once we tweak the function style, the code even works (for the most part) under a POSIX shell. The localized strings will be prepended with a $, but it is otherwise functional.
Diffstat (limited to 'elf/Makefile')
-rw-r--r-- | elf/Makefile | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/elf/Makefile b/elf/Makefile index 2db3c980da..8abc60b821 100644 --- a/elf/Makefile +++ b/elf/Makefile @@ -93,7 +93,7 @@ pldd-modules := xmalloc # To find xmalloc.c and xstrdup.c vpath %.c ../locale/programs -ifeq ($(have-ksh)$(build-shared),yesyes) +ifeq ($(build-shared),yes) extra-objs += sotruss-lib.os sotruss-lib.so install-others += $(inst_auditdir)/sotruss-lib.so install-bin-script += sotruss @@ -104,8 +104,8 @@ $(objpfx)sotruss-lib.so: $(objpfx)sotruss-lib.os $(objpfx)sotruss-lib.so: $(common-objpfx)libc.so $(objpfx)ld.so \ $(common-objpfx)libc_nonshared.a -$(objpfx)sotruss: sotruss.ksh $(common-objpfx)config.make - sed -e 's%@KSH@%$(KSH)%g' \ +$(objpfx)sotruss: sotruss.sh $(common-objpfx)config.make + sed -e 's%@BASH@%$(BASH)%g' \ -e 's%@VERSION@%$(version)%g' \ -e 's%@TEXTDOMAINDIR@%$(msgcatdir)%g' \ -e 's%@PREFIX@%$(prefix)%g' \ |