gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] r18743 - gnunet-update/gnunet_update


From: gnunet
Subject: [GNUnet-SVN] r18743 - gnunet-update/gnunet_update
Date: Wed, 21 Dec 2011 15:33:59 +0100

Author: harsha
Date: 2011-12-21 15:33:59 +0100 (Wed, 21 Dec 2011)
New Revision: 18743

Modified:
   gnunet-update/gnunet_update/file.py
   gnunet-update/gnunet_update/package.py
Log:
-fixed 2023: installer crash due to installing broken symlinks

Modified: gnunet-update/gnunet_update/file.py
===================================================================
--- gnunet-update/gnunet_update/file.py 2011-12-21 14:33:14 UTC (rev 18742)
+++ gnunet-update/gnunet_update/file.py 2011-12-21 14:33:59 UTC (rev 18743)
@@ -93,7 +93,7 @@
         """Creates a new DependencyFileObject instance.
         name: The name of the dependency(the name shown in the ldd output for
               an executable)
-        path: The absolute path of this dependency
+        path: The absolute real path of this dependency
         hash: The hash of the dependency file
         """
         # Having a relative path for the dependency is not a good as the

Modified: gnunet-update/gnunet_update/package.py
===================================================================
--- gnunet-update/gnunet_update/package.py      2011-12-21 14:33:14 UTC (rev 
18742)
+++ gnunet-update/gnunet_update/package.py      2011-12-21 14:33:59 UTC (rev 
18743)
@@ -157,7 +157,7 @@
                     continue
                 #create a new dependency object and add it to the set
                 dep = DependencyFileObject(os.path.basename(dep_data[0]),
-                                           dep_data[-1])
+                                           os.path.realpath(dep_data[-1]))
                 #check in cache if we already saw this dependency
                 if dep not in dependencies:
                     dependencies[dep] = dep
@@ -237,7 +237,7 @@
     print "Here are the dependencies:"
     for dep in dependencies:
         print dep.name
-        print "|--" + dep.realname
+        print "|--" + dep.realname + " (" + dep.path + ")"
         tar_file.add(dep.path, 
                      "dependencies/" + dep.realname)
         




reply via email to

[Prev in Thread] Current Thread [Next in Thread]