mirror of
https://github.com/novatiq/packages.git
synced 2026-04-30 07:28:39 +01:00
pciutils: update to v3.4.0
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
--- a/lib/configure
|
||||
+++ b/lib/configure
|
||||
@@ -44,7 +44,7 @@ if [ -z "$HOST" ] ; then
|
||||
fi
|
||||
[ -n "$RELEASE" ] && rel="${RELEASE}"
|
||||
# CAVEAT: tr on Solaris is a bit weird and the extra [] is otherwise harmless.
|
||||
-host=`echo $HOST | sed -e 's/^\([^-]*\)-\([^-]*\)-\([^-]*\)-\([^-]*\)$/\1-\3/' -e 's/^\([^-]*\)-\([^-]*\)-\([^-]*\)$/\1-\2/' -e 's/^\([^-]*\)-\([^-]*\)$/\1--\2/' | tr '[A-Z]' '[a-z]'`
|
||||
+host=`echo $HOST | sed -e 's/^\([^-]*\)-\([^-]*\)-\([^-]*\)-\([^-]*\)$/\1-\3/' -e 's/^\([^-]*\)-\([^-]*\)$/\1--\2/' | tr '[A-Z]' '[a-z]'`
|
||||
cpu=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
|
||||
sys=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
|
||||
echo " $host $rel $cpu $sys"
|
||||
Reference in New Issue
Block a user