diff --git a/anda/system/nvidia/kmod-nvidia/update.rhai b/anda/system/nvidia/kmod-nvidia/update.rhai index d76b9982f9..76e8f2a279 100644 --- a/anda/system/nvidia/kmod-nvidia/update.rhai +++ b/anda/system/nvidia/kmod-nvidia/update.rhai @@ -17,7 +17,7 @@ kver.dedup(); open_file("anda/system/nvidia/kmod-nvidia/VERSION_kernel.txt", "w").write(`${kver[kver.len - 1][1]}`); let dir = sub(`/[^/]+`, "", __script_path); -if sh("[[ `git status " + dir + "--porcelain` ]] && exit 1 || exit 0", #{}).ctx.rc == 1 { +if sh("[[ `git status " + dir + " --porcelain` ]] && exit 1 || exit 0", #{}).ctx.rc == 1 { let rel = spec::get_release(rpm).parse_int(); rpm.release(rel + 1); }