From aaf3d06e958b733faccf0745af1ba2a4d0d8c5be Mon Sep 17 00:00:00 2001 From: "Lucas C. Villa Real" Date: Mon, 8 May 2017 16:29:54 -0300 Subject: [PATCH] Specify package name and version so that the right entry under gobolinux.org/mirror_url is searched. --- bin/MakeRecipe | 3 ++- bin/NewVersion | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/bin/MakeRecipe b/bin/MakeRecipe index 4aa6867d..abc363f0 100755 --- a/bin/MakeRecipe +++ b/bin/MakeRecipe @@ -229,7 +229,8 @@ fi if ! Boolean "no-fetch" then - FetchArchive --no-verify-files $fetchparams "$recipefile" || Die "Could not fetch sources." + programversion="--program $packagename --version-number $versionnumber" + FetchArchive --no-verify-files $programversion $fetchparams "$recipefile" || Die "Could not fetch sources." elif ! [ -e "$file" ] then Die "--no-fetch used, but source archive is not available in ${compileArchivesDir}." diff --git a/bin/NewVersion b/bin/NewVersion index e6fd5e47..344ff161 100755 --- a/bin/NewVersion +++ b/bin/NewVersion @@ -231,7 +231,7 @@ Update_Recipe() { sed -i "s,\(^url=.*\),git=\"$url\",g" "$recipedir/Recipe" fi Log_Normal "Downloading source code..." - if ! FetchArchive --no-verify-files "$recipedir/Recipe" + if ! FetchArchive --program "$packagename" --version-number "$newversion" --no-verify-files "$recipedir/Recipe" then rm -rf "$recipedir" Die "Could not download $arch source code, aborting."