Closed knutze closed 3 years ago
I've changed the standard shell in Debian from dash to bash, so maybe that's the reason?
sudo make install-deb ... /bin/sh: command substitution: line 0: syntax error near unexpected token `)' /bin/sh: command substitution: line 0: `sed -ne '/^vimpager (/{ s/^vimpager (\([^)-]*\).*/\1/p; q; }' debian/changelog)' ... dpkg-source: error: can't build with source format '3.0 (quilt)': no upstream tarball found at ../vimpager_2.06.orig.tar.{bz2,gz,lzma,xz} dpkg-buildpackage: error: dpkg-source -b vimpager gave error exit status 255 Makefile:216: recipe for target 'build-deb-build' failed make: *** [build-deb-build] Error 255
It looked like there were unnecessary parentheses here, so I removed them and it went through. https://github.com/rkitover/vimpager/blob/0c91e9821c126eda1120f6ed8898bc8f236b3bec/Makefile#L216
I've reproduced this with /bin/sh pointing to /bin/bash instead of /bin/dash.
/bin/sh
/bin/bash
/bin/dash
Looking at this now.
I've changed the standard shell in Debian from dash to bash, so maybe that's the reason?
It looked like there were unnecessary parentheses here, so I removed them and it went through. https://github.com/rkitover/vimpager/blob/0c91e9821c126eda1120f6ed8898bc8f236b3bec/Makefile#L216