From ba348cc7b37380e48e16ff2c084e365432af481b Mon Sep 17 00:00:00 2001 From: jjakob Date: Thu, 19 Mar 2020 13:41:38 +0100 Subject: T2085: scripts/build-packages: don't define commit='HEAD' by default Fixes an issue where the script would always revert to a full clone. --- scripts/build-packages | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scripts/build-packages') diff --git a/scripts/build-packages b/scripts/build-packages index 7329a845..58778fad 100755 --- a/scripts/build-packages +++ b/scripts/build-packages @@ -11,7 +11,7 @@ current_working_directory = os.getcwd() repo_root = subprocess.check_output('git rev-parse --show-toplevel', shell=True, universal_newlines=True).rstrip('\n') repo_sha = subprocess.check_output('git rev-parse --short=12 HEAD', shell=True, universal_newlines=True).rstrip('\n') -def add_package(name, url=None, commit='HEAD', branch='current', tag=None, shallow=True, custombuild_cmd=None): +def add_package(name, url=None, commit=None, branch='current', tag=None, shallow=True, custombuild_cmd=None): """ Build up source package with URL and build commands executed during the later called build_package step. -- cgit v1.2.3