gnunet-svn
[Top][All Lists]
Advanced

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

[GNUnet-SVN] r18746 - gnunet-planetlab


From: gnunet
Subject: [GNUnet-SVN] r18746 - gnunet-planetlab
Date: Wed, 21 Dec 2011 15:50:08 +0100

Author: pritpal
Date: 2011-12-21 15:50:08 +0100 (Wed, 21 Dec 2011)
New Revision: 18746

Modified:
   gnunet-planetlab/02_planetlab-deps-from-source.sh
Log:
updated

Modified: gnunet-planetlab/02_planetlab-deps-from-source.sh
===================================================================
--- gnunet-planetlab/02_planetlab-deps-from-source.sh   2011-12-21 14:47:22 UTC 
(rev 18745)
+++ gnunet-planetlab/02_planetlab-deps-from-source.sh   2011-12-21 14:50:08 UTC 
(rev 18746)
@@ -264,15 +264,20 @@
 #-------------------------
 
 function cleanup_nettle {
-       cd ..
-       rm -rf nettle-2.4
-       rm nettle-2.4.tar.gz 
+#      cd ..
+#      rm -rf nettle-2.4
+#      rm nettle-2.4.tar.gz 
+rm -rf /tmp/libnettle
 }
 
 
 function install_nettle {
-       
-wget http://www.lysator.liu.se/~nisse/archive/nettle-2.4.tar.gz 1> /dev/null 
2> /dev/null
+
+
+mkdir /tmp/libnettle
+cd /tmp/libnettle
+
+ wget http://www.lysator.liu.se/~nisse/archive/nettle-2.4.tar.gz 1> /dev/null 
2> /dev/null
 if [ $? = 0 ]
 then
   echo " Libnettle download successful"
@@ -322,8 +327,8 @@
   cleanup_nettle
   exit 1
 fi
-
-cleanup_nettle
+cd ..
+#cleanup_nettle
 }
 
 
@@ -331,14 +336,18 @@
 #-------------------------
 
 function cleanup_gnutls {
-       cd ..
-       rm -rf gnutls-2.12.9
-       rm gnutls-2.12.9.tar.gz 
+#      cd ..
+#      rm -rf gnutls-2.12.9
+#      rm gnutls-2.12.9.tar.gz 
+rm -rf /tmp/gnutls
 }
 
 
 function install_gnutls {
        
+mkdir /tmp/gnutls
+cd /tmp/gnutls
+
 wget ftp://ftp.gnupg.org/gcrypt/gnutls/gnutls-2.12.9.tar.bz2 1> /dev/null 2> 
/dev/null
 if [ $? = 0 ]
 then
@@ -390,7 +399,8 @@
   exit 1
 fi
 
-cleanup_gnutls
+#cleanup_gnutls
+cd ..
 }
 
 echo "INSTALLING DEPENDENCIES FROM SOURCE"




reply via email to

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