chiark / gitweb /
gradle: don't strip out comments
authorDaniel Martí <mvdan@mvdan.cc>
Tue, 22 Sep 2015 18:52:16 +0000 (11:52 -0700)
committerDaniel Martí <mvdan@mvdan.cc>
Tue, 22 Sep 2015 18:52:16 +0000 (11:52 -0700)
This was never intended. Comments can help sed usage, and can still be useful
in source tarballs.

fdroidserver/common.py

index ae848df5a96ee94fb75cae4d554bafecaf351f40..19053ec7e696b2647db7e0fe1c2ff9cf3dc6b85c 100644 (file)
@@ -1635,6 +1635,7 @@ def remove_signing_keys(build_dir):
                         i += 1
 
                     if comment.match(line):
+                        o.write(line)
                         continue
 
                     if opened > 0: