diff options
-rw-r--r-- | scripts/include/common.sh | 13 | ||||
-rwxr-xr-x | scripts/updatesrcall.sh | 5 |
2 files changed, 18 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}" diff --git a/scripts/updatesrcall.sh b/scripts/updatesrcall.sh new file mode 100755 index 0000000..6f42573 --- /dev/null +++ b/scripts/updatesrcall.sh @@ -0,0 +1,5 @@ +#!/bin/bash + +source ../scripts/include/common.sh + +common_update_source_all |