summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rw-r--r--scripts/include/common.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/scripts/include/common.sh b/scripts/include/common.sh
index 76cf8cc..78f046b 100644
--- a/scripts/include/common.sh
+++ b/scripts/include/common.sh
@@ -221,6 +221,10 @@ function package_use {
env_lib_library_path "lib"
}
+function package_get_source {
+ run_clone "${SRCURL}"
+}
+
function package_update_source {
cd "../src/${package}"
if [ -d .git ]; then