]> sigrok.org Git - sigrok-util.git/blobdiff - source/new-driver
new-driver: Add missing \n that causes build errors.
[sigrok-util.git] / source / new-driver
index 23fe85b8019e232e06837fbb4f4ffdf44bdf66b8..1f8f91da336ad7346734121be87b0f8943aee908 100755 (executable)
@@ -35,7 +35,7 @@ TMPL_HWMAKE_DRIVERLIB = """if HW_{upper}
 libsigrok_la_SOURCES +="""
 for tmpl_file in TMPL_FILES:
     TMPL_HWMAKE_DRIVERLIB += " \\\nsrc/hardware/{short}/" + tmpl_file
-TMPL_HWMAKE_DRIVERLIB += "\nendif"
+TMPL_HWMAKE_DRIVERLIB += "\nendif\n"
 
 
 def tmpl(template, names):