aboutsummaryrefslogtreecommitdiff
path: root/lib/actions/fetch.bash
diff options
context:
space:
mode:
authorPatrick Spek <p.spek@tyil.nl>2020-03-29 17:37:01 +0200
committerPatrick Spek <p.spek@tyil.nl>2020-03-29 17:37:01 +0200
commit1a3c36278c39a275455a0a524f8a494d90f77324 (patch)
treef071b471f1eb123fe0260974bd22eb759925e3d6 /lib/actions/fetch.bash
parent98c35cddda61236ad92e1ba47cf52ab86a1d16f3 (diff)
Consolidate fetch data in fetch_core.txt
Diffstat (limited to 'lib/actions/fetch.bash')
-rw-r--r--lib/actions/fetch.bash4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/actions/fetch.bash b/lib/actions/fetch.bash
index 8582865..8af563f 100644
--- a/lib/actions/fetch.bash
+++ b/lib/actions/fetch.bash
@@ -37,8 +37,8 @@ download_core() {
local source
local destination
- version="$(config_etc_kv "dist_$1.txt" "version")"
- source="$(config_etc_kv "dist_$1.txt" "url" | sed "s/%s/$version/g")"
+ version="$(config_etc_kv "fetch_core.txt" "${1}_version")"
+ source="$(config_etc_kv "fetch_core.txt" "${1}_url" | sed "s/%s/$version/g")"
destination="$BASEDIR/src/$1-$version"
if [[ -d $destination ]]