Skip to content

Commit

Permalink
Merge pull request #212 from buczek/fixes-for-marius
Browse files Browse the repository at this point in the history
beesh: restore feature to overwrite filename
  • Loading branch information
mariux authored and GitHub committed Dec 19, 2016
2 parents c5502af + 0406a80 commit 061f86b
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions src/beesh.sh.in
Original file line number Diff line number Diff line change
Expand Up @@ -323,17 +323,21 @@ function fetch_one_patch() {

function bee_getsrcurl() {
local -a archives=( "${@}" )
local url filename

for a in "${archives[@]}" ; do
fetch_one_archive "${a}"
read -r url filename <<< "${a}"
fetch_one_archive "${url}" "${filename}"
done
}

function bee_getpatchurl() {
local -a patches=( "${@}" )
local url filename

for p in "${patches[@]}" ; do
fetch_one_patch "${p}"
read -r url filename <<< "${p}"
fetch_one_patch "${url}" "${filename}"
done
}

Expand Down

0 comments on commit 061f86b

Please sign in to comment.