Skip to content

Commit

Permalink
Specify package name and version so that the right entry under
Browse files Browse the repository at this point in the history
gobolinux.org/mirror_url is searched.
  • Loading branch information
lucasvr committed May 8, 2017
1 parent 1f000a4 commit aaf3d06
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion bin/MakeRecipe
Original file line number Diff line number Diff line change
Expand Up @@ -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}."
Expand Down
2 changes: 1 addition & 1 deletion bin/NewVersion
Original file line number Diff line number Diff line change
Expand Up @@ -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."
Expand Down

0 comments on commit aaf3d06

Please sign in to comment.