aboutsummaryrefslogtreecommitdiffhomepage
path: root/Makefile
diff options
context:
space:
mode:
authorGravatar David Aspinall <da@inf.ed.ac.uk>2000-05-16 08:15:35 +0000
committerGravatar David Aspinall <da@inf.ed.ac.uk>2000-05-16 08:15:35 +0000
commit43271266a4b7ffc1f6849910541b85078b68d825 (patch)
tree58e295422a74073d17dc4017656ee77873aa5a92 /Makefile
parentb64623a44e6d7abbf44c590c8adcba29841bdb4f (diff)
Be more generous if bash is not found.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile9
1 files changed, 4 insertions, 5 deletions
diff --git a/Makefile b/Makefile
index e2c673cb..5a517e6e 100644
--- a/Makefile
+++ b/Makefile
@@ -53,15 +53,14 @@ all: $(ELC)
.el.elc:
$(BYTECOMP) $*.el
+## scripts: try to patch bash scripts with path to bash
+##
##
-##
-##
-
scripts:
@(bash="`which bash`"; \
if [ -z "$$bash" ]; then \
- echo "could not find bash!" >&2; \
- exit 1; \
+ echo "Could not find bash - bash path not checked" >&2; \
+ exit 0; \
fi; \
for i in $(BASH_SCRIPTS); do \
sed "s|^#.*!.*/bin/bash.*$$|#!$$bash|" < $$i > .tmp \