[csw-devel] SF.net SVN: gar:[14200] csw/mgar/gar/v2-speedup-fetch/bin/fetch_url

skayser at users.sourceforge.net skayser at users.sourceforge.net
Fri Apr 15 01:33:36 CEST 2011


Revision: 14200
          http://gar.svn.sourceforge.net/gar/?rev=14200&view=rev
Author:   skayser
Date:     2011-04-14 23:33:36 +0000 (Thu, 14 Apr 2011)

Log Message:
-----------
.buildsys/v2-speedup-fetch: fix handling of relative file URIs in bin/fetch_file

Modified Paths:
--------------
    csw/mgar/gar/v2-speedup-fetch/bin/fetch_url

Modified: csw/mgar/gar/v2-speedup-fetch/bin/fetch_url
===================================================================
--- csw/mgar/gar/v2-speedup-fetch/bin/fetch_url	2011-04-14 23:08:15 UTC (rev 14199)
+++ csw/mgar/gar/v2-speedup-fetch/bin/fetch_url	2011-04-14 23:33:36 UTC (rev 14200)
@@ -24,7 +24,8 @@
 function fetch-file() {
     local file=$1
     [ ! -f $file ] && return 1
-    gln -sf /$file $TARGET_DIR/`basename $file`
+    local abspath="`greadlink -m $file`"
+    gln -sf $abspath $TARGET_DIR/`basename $file`
 }
 
 function fetch-svn() {


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.


More information about the devel mailing list