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 <[email protected]>  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.


_______________________________________________
debian-med-commit mailing list
[email protected]
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/debian-med-commit

Reply via email to