summaryrefslogtreecommitdiff
path: root/packages/curl.sh
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-01-27 01:30:53 +0300
committerAndrei Karas <akaras@inbox.ru>2017-01-27 01:30:53 +0300
commitb823c0636d902c71e71515fcc160443741d92bcc (patch)
treeb16e352f41e3ff917e506297d3c3c23624ad488a /packages/curl.sh
parentbcc8cdc27946b0c4833ab70312d58a76f042c73d (diff)
downloadspm-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/curl.sh')
-rwxr-xr-xpackages/curl.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/curl.sh b/packages/curl.sh
index 327c575..463ca3c 100755
--- a/packages/curl.sh
+++ b/packages/curl.sh
@@ -1,7 +1,7 @@
#!/bin/bash
function package_build {
- run_git_switch_branch master
+ run_switch_branch master
# this need because out of source tree compilation is broken
run_enable_same_dir_build
@@ -14,7 +14,7 @@ function package_build {
}
function package_get_source {
- run_git_clone https://github.com/curl/curl.git
+ run_clone https://github.com/curl/curl.git
}
function package_use {