Skip to content

Commit

Permalink
bee-init: remove html anchors from SRCURL
Browse files Browse the repository at this point in the history
  • Loading branch information
Matthias Ruester committed Aug 30, 2012
1 parent b4b3583 commit 0962db8
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/bee-init.sh.in
Original file line number Diff line number Diff line change
Expand Up @@ -184,6 +184,9 @@ function initialize() {
# and remove all HTTP-GET variables..
pname=${pname%%\?*}

# remove anchors
pname=${pname%%\#*}

# strip some known and some special suffixes
pname=${pname%.gz}
pname=${pname%.bz2}
Expand Down

0 comments on commit 0962db8

Please sign in to comment.