[Lunar-commits] CVS: theedge/var/lib/lunar/functions download.lunar, 1.61, 1.62

Auke Kok sofar at lunar-linux.org
Tue Apr 12 07:34:33 UTC 2005


Update of /var/cvs/lunar/theedge/var/lib/lunar/functions
In directory espresso.foo-projects.org:/home/sofar/active/theedge/var/lib/lunar/functions

Modified Files:
	download.lunar 
Log Message:
Move the appending of '/' to URL's to the wget method only, the other methods do not concatenate the URL with the FILE part.


Index: download.lunar
===================================================================
RCS file: /var/cvs/lunar/theedge/var/lib/lunar/functions/download.lunar,v
retrieving revision 1.61
retrieving revision 1.62
diff -u -d -r1.61 -r1.62
--- download.lunar	7 Apr 2005 09:36:36 -0000	1.61
+++ download.lunar	12 Apr 2005 07:34:00 -0000	1.62
@@ -116,11 +116,6 @@
 			add_url $LRESORT_URL
 		
 			for URL in $ALL_URLS; do
-				# add trailing '/'
-				if [ "${URL:((${#URL}-1)):1}" != "/" ] ; then
-					URL="${URL}/"
-				fi
-
 				# and download
 				if download_url $URL $SRC $SOURCE_CACHE ; then
 					break



More information about the Lunar-commits mailing list