summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--eltpatch.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/eltpatch.in b/eltpatch.in
index 8c6daee..f1afdb8 100644
--- a/eltpatch.in
+++ b/eltpatch.in
@@ -217,7 +217,7 @@ elibtoolize() {
fi
# patching ltmain.sh
- [[ -f ${d}/ltmain.sh ]] &&
+ [[ -f ${d}/ltmain.sh ]] && sed -n '1p' ${d}/ltmain.sh | grep -qsv '/dev/null' &&
for p in ${elt_patches} ; do
ret=0