aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorErik Troan <ewt@redhat.com>1999-12-29 16:47:13 +0000
committerErik Troan <ewt@redhat.com>1999-12-29 16:47:13 +0000
commitb8d447a39bff40aef43638ab2dce44ff77d5fc70 (patch)
tree9b683be53e6aca5dca0f221c798ea2e879f6572e
parent483b8d9d7fd77f8c912f997b119a051fc1526360 (diff)
downloadinitscripts-b8d447a39bff40aef43638ab2dce44ff77d5fc70.tar
initscripts-b8d447a39bff40aef43638ab2dce44ff77d5fc70.tar.gz
initscripts-b8d447a39bff40aef43638ab2dce44ff77d5fc70.tar.bz2
initscripts-b8d447a39bff40aef43638ab2dce44ff77d5fc70.tar.xz
initscripts-b8d447a39bff40aef43638ab2dce44ff77d5fc70.zip
make check shouldn't try to pipe ELF executables thorugh bash!r4-80
-rw-r--r--Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index ea7a7bdf..d1a44665 100644
--- a/Makefile
+++ b/Makefile
@@ -41,7 +41,9 @@ install:
check:
for afile in `find . -type f -perm +111|grep -v \.csh ` ; do \
- bash -n $$afile || { echo $$afile ; exit 1 } ; \
+ if ! file $$afile | grep -s ELF >/dev/null; then \
+ bash -n $$afile || { echo $$afile ; exit 1 } ; \
+ fi ;\
done
changelog: