[med-svn] [Git][med-team/infernal][master] d/bin/cmalign: make machine architecture query quieter and not reliant on the...
Michael R. Crusoe (@crusoe)
gitlab at salsa.debian.org
Sun Nov 30 10:29:38 GMT 2025
Michael R. Crusoe pushed to branch master at Debian Med / infernal
Commits:
0cfe8884 by Michael R. Crusoe at 2025-11-30T11:29:30+01:00
d/bin/cmalign: make machine architecture query quieter and not reliant on the non-essential package dpkg-dev.
- - - - -
2 changed files:
- debian/bin/cmalign
- debian/changelog
Changes:
=====================================
debian/bin/cmalign
=====================================
@@ -1,8 +1,8 @@
#!/bin/sh
-BINNAME=`basename $0`
+BINNAME=$(basename "$0")
-if ! dpkg-architecture --is i386 || grep -q '^flags[[:space:]]*:.* sse2 ' /proc/cpuinfo ; then
- /usr/lib/infernal/$BINNAME $@
+if dpkg --print-architecture | grep -q -v i386 || grep -q '^flags[[:space:]]*:.* sse2 ' /proc/cpuinfo ; then
+ "/usr/lib/infernal/${BINNAME}" "$@"
else
cat <<EOT
To run $BINNAME from infernal package your proccessor needs SSE2 which is not
=====================================
debian/changelog
=====================================
@@ -1,3 +1,10 @@
+infernal (1.1.5-4) UNRELEASED; urgency=medium
+
+ * d/bin/cmalign: make machine architecture query quieter and not reliant
+ on the non-essential package dpkg-dev.
+
+ -- Michael R. Crusoe <crusoe at debian.org> Sun, 30 Nov 2025 11:29:10 +0100
+
infernal (1.1.5-3) unstable; urgency=medium
* Fix clean target
View it on GitLab: https://salsa.debian.org/med-team/infernal/-/commit/0cfe8884cfabc09e11d3761dc743af932ffaea77
--
View it on GitLab: https://salsa.debian.org/med-team/infernal/-/commit/0cfe8884cfabc09e11d3761dc743af932ffaea77
You're receiving this email because of your account on salsa.debian.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/debian-med-commit/attachments/20251130/a8d23f69/attachment-0001.htm>
More information about the debian-med-commit
mailing list