From 0962db8a206ec937f0c137182dac947ee5909e1b Mon Sep 17 00:00:00 2001 From: Matthias Ruester Date: Thu, 30 Aug 2012 08:41:50 +0200 Subject: [PATCH] bee-init: remove html anchors from SRCURL --- src/bee-init.sh.in | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/bee-init.sh.in b/src/bee-init.sh.in index dbaf4f9..52f1db5 100644 --- a/src/bee-init.sh.in +++ b/src/bee-init.sh.in @@ -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}