Source: python-mne
Version: 0.13.1+dfsg-1
Severity: serious
Tags: patch
X-Debbugs-Cc: reproducible-b...@lists.alioth.debian.org

Hi,

Whilst working on the Reproducible Builds effort [0], we noticed
that python-mne generates an invalid bootstrap.min.js when built
with dash as /bin/sh.

With dash you get an extra "-e". Patch attached.

 [0] https://reproducible-builds.org/


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      la...@debian.org / chris-lamb.co.uk
       `-
diff --git a/debian/rules b/debian/rules
index fa02162..4e5ac91 100755
--- a/debian/rules
+++ b/debian/rules
@@ -19,7 +19,7 @@ override_dh_clean:
 override_dh_auto_build:
        dh_auto_build
        yui-compressor debian/JS/bootstrap/bootstrap.js > 
$(CURDIR)/mne/html/bootstrap.min.js
-       echo -e "\n" >> $(CURDIR)/mne/html/bootstrap.min.js
+       printf "\n\n" >> $(CURDIR)/mne/html/bootstrap.min.js
 
 override_dh_auto_test:
        mkdir -p build

Reply via email to