search for: 4d27a62d33

Displaying 1 result from an estimated 1 matches for "4d27a62d33".

2020 Sep 22
2
[PATCH] debian/scripts: Optimize scripts
...possible to do too much using scripts. --- debian/scripts/xen-utils-wrapper | 39 +++++++++++++++++++++++++++++--- debian/scripts/xen-version | 6 +++-- 2 files changed, 40 insertions(+), 5 deletions(-) diff --git a/debian/scripts/xen-utils-wrapper b/debian/scripts/xen-utils-wrapper index 4d27a62d33..451cdb59f3 100755 --- a/debian/scripts/xen-utils-wrapper +++ b/debian/scripts/xen-utils-wrapper @@ -1,6 +1,39 @@ #!/bin/sh -e -COMMAND="$(basename $0)" -DIR=$(/usr/lib/xen-common/bin/xen-dir) +# This portion is fast-path, avoid external programs + +COMMAND="${0##*/}" + +DIR=...