Fix a regression in which running borgmatic with no arguments and no configuration files doesn't error as expected (#1286).

This commit is contained in:
Dan Helfman
2026-03-22 20:10:46 -07:00
parent b74b6aa18d
commit 52234c47e6
5 changed files with 41 additions and 21 deletions
+1 -1
View File
@@ -49,7 +49,7 @@ source binary/bin/activate
uv pip install -r binary_requirements.txt
nuitka --mode=onefile --enable-plugin=upx --include-package-data=borgmatic --include-data-dir=borgmatic.egg-info=borgmatic.egg-info --include-package=borgmatic.hooks --include-package=apprise --no-deployment-flag=self-execution borgmatic/commands/borgmatic.py
deactivate
rm -fr binary
rm -fr binary borgmatic.build borgmatic.dist
standalone_binary_path="dist/borgmatic-${version}-binary-linux-glibc-x86_64"
mv borgmatic.bin "$standalone_binary_path"