diff --git a/anda/system/xone/akmod/update.rhai b/anda/system/xone/akmod/update.rhai index 95295c3ac6..1e2fcbcc56 100644 --- a/anda/system/xone/akmod/update.rhai +++ b/anda/system/xone/akmod/update.rhai @@ -1,4 +1,4 @@ -let c = sh("cat anda/system/xone/kmod-common/xone.spec | grep '%global commit' | sed -E 's/.+commit //'", #{"stdout": "piped"}).ctx.stdout; +let c = sh("cat anda/system/xone/kmod-common/xone.spec | grep '%global commit ' | sed -E 's/.+commit //'", #{"stdout": "piped"}).ctx.stdout; c.pop(); rpm.global("commit", c); if rpm.changed() { diff --git a/anda/system/xone/dkms/update.rhai b/anda/system/xone/dkms/update.rhai index 0ac5d9b6bb..1e2fcbcc56 100644 --- a/anda/system/xone/dkms/update.rhai +++ b/anda/system/xone/dkms/update.rhai @@ -1,11 +1,11 @@ -let c = sh("cat anda/system/xone/kmod-common/xone.spec | grep '%global commit' | sed -E 's/.+commit //'", #{"stdout": "piped"}).ctx.stdout; +let c = sh("cat anda/system/xone/kmod-common/xone.spec | grep '%global commit ' | sed -E 's/.+commit //'", #{"stdout": "piped"}).ctx.stdout; c.pop(); rpm.global("commit", c); if rpm.changed() { rpm.release(); - let d = sh("cat anda/system/xone/kmod-common/xone.spec | grep '%global commit_date' | sed -E 's/.+commit_date //'", #{"stdout": "piped"}).ctx.stdout; + let d = sh("cat anda/system/xone/kmod-common/xone.spec | grep '%global commitdate' | sed -E 's/.+commitdate //'", #{"stdout": "piped"}).ctx.stdout; d.pop(); - rpm.global("commit_date", d); + rpm.global("commitdate", d); let v = sh("cat anda/system/xone/kmod-common/xone.spec | grep '%global ver' | sed -E 's/.+ver //'", #{"stdout": "piped"}).ctx.stdout; v.pop(); rpm.global("ver", v); diff --git a/anda/system/xpad-noone/akmod/update.rhai b/anda/system/xpad-noone/akmod/update.rhai index 05ee92a730..26a5eb17b4 100644 --- a/anda/system/xpad-noone/akmod/update.rhai +++ b/anda/system/xpad-noone/akmod/update.rhai @@ -1,4 +1,4 @@ -let c = sh("cat anda/system/xpad-noone/kmod-common/xpad-noone.spec | grep '%global commit' | sed -E 's/.+commit //'", #{"stdout": "piped"}).ctx.stdout; +let c = sh("cat anda/system/xpad-noone/kmod-common/xpad-noone.spec | grep '%global commit ' | sed -E 's/.+commit //'", #{"stdout": "piped"}).ctx.stdout; c.pop(); rpm.global("commit", c); if rpm.changed() { diff --git a/anda/system/xpad-noone/dkms/update.rhai b/anda/system/xpad-noone/dkms/update.rhai index 05ee92a730..26a5eb17b4 100644 --- a/anda/system/xpad-noone/dkms/update.rhai +++ b/anda/system/xpad-noone/dkms/update.rhai @@ -1,4 +1,4 @@ -let c = sh("cat anda/system/xpad-noone/kmod-common/xpad-noone.spec | grep '%global commit' | sed -E 's/.+commit //'", #{"stdout": "piped"}).ctx.stdout; +let c = sh("cat anda/system/xpad-noone/kmod-common/xpad-noone.spec | grep '%global commit ' | sed -E 's/.+commit //'", #{"stdout": "piped"}).ctx.stdout; c.pop(); rpm.global("commit", c); if rpm.changed() { diff --git a/anda/system/xpadneo/akmod/update.rhai b/anda/system/xpadneo/akmod/update.rhai index 2a64921582..b7de501f56 100644 --- a/anda/system/xpadneo/akmod/update.rhai +++ b/anda/system/xpadneo/akmod/update.rhai @@ -1,4 +1,4 @@ -let c = sh("cat anda/system/xpadneo/kmod-common/xpadneo.spec | grep '%global commit' | sed -E 's/.+commit //'", #{"stdout": "piped"}).ctx.stdout; +let c = sh("cat anda/system/xpadneo/kmod-common/xpadneo.spec | grep '%global commit ' | sed -E 's/.+commit //'", #{"stdout": "piped"}).ctx.stdout; c.pop(); rpm.global("commit", c); if rpm.changed() { diff --git a/anda/system/xpadneo/dkms/update.rhai b/anda/system/xpadneo/dkms/update.rhai index 2a64921582..b7de501f56 100644 --- a/anda/system/xpadneo/dkms/update.rhai +++ b/anda/system/xpadneo/dkms/update.rhai @@ -1,4 +1,4 @@ -let c = sh("cat anda/system/xpadneo/kmod-common/xpadneo.spec | grep '%global commit' | sed -E 's/.+commit //'", #{"stdout": "piped"}).ctx.stdout; +let c = sh("cat anda/system/xpadneo/kmod-common/xpadneo.spec | grep '%global commit ' | sed -E 's/.+commit //'", #{"stdout": "piped"}).ctx.stdout; c.pop(); rpm.global("commit", c); if rpm.changed() {