Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=frugalware-current.git;a=commitdiff;h=93a8d8b3e9eee39bd8a21b7be0cde574a56a3b40

commit 93a8d8b3e9eee39bd8a21b7be0cde574a56a3b40
Author: Michel Hermier <herm...@frugalware.org>
Date:   Fri Apr 1 20:56:42 2011 +0200

sourceforge.sh

* Some small fixes. Set _F_archive_name with _F_sourceforge_name, and
_F_sourceforge_sep with Fpkgversep.

diff --git a/source/include/sourceforge.sh b/source/include/sourceforge.sh
index c0ef938..b99b76e 100644
--- a/source/include/sourceforge.sh
+++ b/source/include/sourceforge.sh
@@ -72,7 +72,7 @@ if [ -z "$_F_sourceforge_ext" ]; then
fi

if [ -z "$_F_sourceforge_sep" ]; then
-       _F_sourceforge_sep="-"
+       _F_sourceforge_sep="$Fpkgversep"
fi

if [ -n "$_F_sourceforge_sep" ] && [ "$_F_sourceforge_sep" = "None" ]; then
@@ -91,6 +91,9 @@ 
_F_sourceforge_rss_url="http://sourceforge.net/api/file/index/project-id/$_F_sou
if [ -z "$url" ]; then
url="$_F_sourceforge_url"
fi
+if [ -z "$_F_archive_name" ]; then
+       _F_archive_name="$_F_sourceforge_name"
+fi
if [ -z "$_F_archive_grepv" ]; then
_F_archive_grepv="^$"
fi
_______________________________________________
Frugalware-git mailing list
Frugalware-git@frugalware.org
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to