CVS: theedge/var/lib/lunar/functions download.lunar, 1.31, 1.32 misc.lunar, 1.5, 1.6

sofar at lunar-linux.org sofar at lunar-linux.org
Tue Aug 5 07:52:09 GMT 2003


Update of /var/cvs/lunar/theedge/var/lib/lunar/functions
In directory dbguin.lunar-linux.org:/tmp/cvs-serv12786/var/lib/lunar/functions

Modified Files:
	download.lunar misc.lunar 
Log Message:
Fixes?


Index: download.lunar
===================================================================
RCS file: /var/cvs/lunar/theedge/var/lib/lunar/functions/download.lunar,v
retrieving revision 1.31
retrieving revision 1.32
diff -u -d -r1.31 -r1.32
--- download.lunar	4 Aug 2003 23:19:42 -0000	1.31
+++ download.lunar	5 Aug 2003 07:52:07 -0000	1.32
@@ -275,6 +275,8 @@
 #   if specified, the remainder will be copied to $DESTINATION
 #
 get_url() {
+(
+  cd /tmp
   debug_msg "get_url ($@)"
   if [ -n "$1" ] ; then
     if [ "${1:0:6}" == "cvs://" ] ; then
@@ -333,6 +335,7 @@
       fi
     fi
   fi
+)
 }
 
 

Index: misc.lunar
===================================================================
RCS file: /var/cvs/lunar/theedge/var/lib/lunar/functions/misc.lunar,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -d -r1.5 -r1.6
--- misc.lunar	4 Aug 2003 23:19:42 -0000	1.5
+++ misc.lunar	5 Aug 2003 07:52:07 -0000	1.6
@@ -105,14 +105,14 @@
   elif [ "$FUZZY" == "off" ] ; then
     return 1
   elif [ -f "$BASENAME.tar.gz" ] ; then
-    echo $BASENAME.tar.gz
     debug_msg "guess_filename: $BASENAME.tar.gz"
+    echo $BASENAME.tar.gz
   elif [ -f "$BASENAME.tar.bz2" ] ; then
-    echo $BASENAME.tar.bz2
     debug_msg "guess_filename: $BASENAME.tar.bz2"
+    echo $BASENAME.tar.bz2
   elif [ -f "$BASENAME.tgz" ] ; then
-    echo $BASENAME.tgz
     debug_msg "guess_filename: $BASENAME.tgz"
+    echo $BASENAME.tgz
   else
     return 1
   fi




More information about the Lunar-commits mailing list