summaryrefslogtreecommitdiff
path: root/bitbake/bin/bitbake-diffsigs
diff options
context:
space:
mode:
Diffstat (limited to 'bitbake/bin/bitbake-diffsigs')
-rwxr-xr-xbitbake/bin/bitbake-diffsigs5
1 files changed, 4 insertions, 1 deletions
diff --git a/bitbake/bin/bitbake-diffsigs b/bitbake/bin/bitbake-diffsigs
index e5595cdf58..5eb77ce59d 100755
--- a/bitbake/bin/bitbake-diffsigs
+++ b/bitbake/bin/bitbake-diffsigs
@@ -6,4 +6,7 @@ sys.path.insert(0, os.path.join(os.path.dirname(os.path.dirname(sys.argv[0])), '
import bb.siggen
-bb.siggen.compare_sigfiles(sys.argv[1], sys.argv[2])
+if len(sys.argv) > 2:
+ bb.siggen.compare_sigfiles(sys.argv[1], sys.argv[2])
+else:
+ bb.siggen.dump_sigfile(sys.argv[1])