Skip to contentSkip to conversation

yasm: style and whitespace cleanup

PATCH New Gustavo Zacarias 2 participants 2 messages Mar 9, 2016

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 yasm: style and whitespace cleanup

Use $(SED) instead of sed.
Kill trailing whitespace in comment, and move it above the define as per standard look.

---
 package/yasm/yasm.mk | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
package/yasm/yasm.mk +3 -3
index bf8a481..6729b6a 100644
@@ -7,10 +7,10 @@
 YASM_VERSION = 1.3.0
 YASM_SITE = http://www.tortall.net/projects/yasm/releases
 
+# This sed prevents it compiling 2 programs (vsyasm and ytasm)
+# that are only of use on Microsoft Windows.
 define YASM_PRE_CONFIGURE_FIXUP
-# This sed prevents it compiling 2 programs (vsyasm and ytasm) 
-# that are only of use on Microsoft Windows. 
-	sed -i 's#) ytasm.*#)#' $(@D)/Makefile.in
+	$(SED) 's#) ytasm.*#)#' $(@D)/Makefile.in
 endef
 
 YASM_PRE_CONFIGURE_HOOKS += YASM_PRE_CONFIGURE_FIXUP
Signature · 1 line
2.4.10
#1 lore raw

PATCH 1/1 yasm: style and whitespace cleanup

Quoted 7 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Gustavo" == Gustavo Zacarias <[email protected]> writes:

Use $(SED) instead of sed.
Kill trailing whitespace in comment, and move it above the define as per standard look.

Committed, thanks.

Signature · 1 line
Bye, Peter Korsgaard