summaryrefslogtreecommitdiff
path: root/scripts/include
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/include')
-rw-r--r--scripts/include/common.sh13
1 files changed, 13 insertions, 0 deletions
diff --git a/scripts/include/common.sh b/scripts/include/common.sh
index e7e8f8c..382f8a5 100644
--- a/scripts/include/common.sh
+++ b/scripts/include/common.sh
@@ -354,6 +354,19 @@ function common_use_packages {
check_error $?
}
+function common_update_source_all {
+ cd ../src/
+ check_error $?
+ files="*"
+ for package in $files
+ do
+ cd ../scripts/
+ ./updatesrc.sh $package
+ check_error $?
+ done
+ unset files
+}
+
function package_get_source {
echo "package_get_source"
run_clone "${SRCURL}"