depot/nix/pkgs/flipperzero-firmware/no_version_git.patch

20 lines
485 B
Diff
Raw Normal View History

diff --git a/scripts/version.py b/scripts/version.py
index 3c04b7e1..cd4ebe47 100644
--- a/scripts/version.py
+++ b/scripts/version.py
@@ -61,13 +61,7 @@ class GitVersion:
}
def _exec_git(self, args):
- cmd = ["git"]
- cmd.extend(args.split(" "))
- return (
- subprocess.check_output(cmd, cwd=self.source_dir, stderr=subprocess.STDOUT)
- .strip()
- .decode()
- )
+ return ''
class Main(App):