File: fix-ftbfs-echo.patch

package info (click to toggle)
input-utils 1.3-3
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 368 kB
  • sloc: ansic: 1,217; sh: 65; makefile: 5
file content (20 lines) | stat: -rw-r--r-- 655 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
Description: Fix FTBFS due to -e leaking into Make.config
 If /bin/sh is configured to point to dash, echo does not support -e switch
 which is used by mk/Autoconf.mk file to generate Make.config. Use 'env echo'
 instead.
Author: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
Bug-Debian: http://bugs.debian.org/750265
Forwarded: no
Last-Update: 2014-07-09

--- input-utils-1.0.orig/mk/Autoconf.mk
+++ input-utils-1.0/mk/Autoconf.mk
@@ -162,7 +162,7 @@ config: Make.config
 	@true
 
 Make.config: $(srcdir)/GNUmakefile
-	@echo -e "$(make-config-q)" > $@
+	@env echo -e "$(make-config-q)" > $@
 	@echo
 	@echo "Make.config written, edit if needed"
 	@echo