summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorJanne Heß2017-03-28 23:14:51 +0200
committerJanne Heß2017-03-28 23:14:51 +0200
commitd9b8cc1c86a5372935bbf0267b459e5a0e5d91b3 (patch)
treef07795e244aa725971652ac5b24016c0229b6fad
parente580fe607bfff0fdf0137c84b8d4d7b53a1bed12 (diff)
downloadaur-d9b8cc1c86a5372935bbf0267b459e5a0e5d91b3.tar.gz
Fix vercmp in install file
-rw-r--r--xen.install3
1 files changed, 1 insertions, 2 deletions
diff --git a/xen.install b/xen.install
index 31abde264c14..8104a1911e0f 100644
--- a/xen.install
+++ b/xen.install
@@ -39,8 +39,7 @@ Feature list
http://wiki.xen.org/wiki/Xen_Project_4.8_Feature_List
__EOF__
- vercmp 4.8.0-4 $1
- if [ "${?}" -lt 0 ]; then
+ if [ "$(vercmp 4.8.0-4 "$1")" -lt 0 ]; then
cat << __EOF__
!!!!!
This Xen version has split out SeaBIOS and OVMF.