diff options
author | Andrei Karas <akaras@inbox.ru> | 2017-01-27 01:30:53 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2017-01-27 01:30:53 +0300 |
commit | b823c0636d902c71e71515fcc160443741d92bcc (patch) | |
tree | b16e352f41e3ff917e506297d3c3c23624ad488a /packages/cppcheck.sh | |
parent | bcc8cdc27946b0c4833ab70312d58a76f042c73d (diff) | |
download | spm-b823c0636d902c71e71515fcc160443741d92bcc.tar.gz spm-b823c0636d902c71e71515fcc160443741d92bcc.tar.bz2 spm-b823c0636d902c71e71515fcc160443741d92bcc.tar.xz spm-b823c0636d902c71e71515fcc160443741d92bcc.zip |
Add package varible SRCTYPE. It set src storage type. For now git or hg.
By default it set to git.
Diffstat (limited to 'packages/cppcheck.sh')
-rwxr-xr-x | packages/cppcheck.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/cppcheck.sh b/packages/cppcheck.sh index 6e400dd..91ce7df 100755 --- a/packages/cppcheck.sh +++ b/packages/cppcheck.sh @@ -1,7 +1,7 @@ #!/bin/bash function package_build { - run_git_switch_branch master + run_switch_branch master run_cmake -DHAVE_RULES=ON @@ -10,7 +10,7 @@ function package_build { } function package_get_source { - run_git_clone https://github.com/danmar/cppcheck.git + run_clone https://github.com/danmar/cppcheck.git } function package_use { |