[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-commits] [tor-messenger-build/master] libgcrypt: build from a non-random directory



commit 5bc60f1b33248fd66d772f9608cea5a0415342ca
Author: Nicolas Vigier <boklm@xxxxxxxxxxxxxx>
Date:   Thu Oct 15 19:36:25 2015 +0200

    libgcrypt: build from a non-random directory
---
 projects/libgcrypt/build |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/projects/libgcrypt/build b/projects/libgcrypt/build
index 640c99e..9b9506f 100644
--- a/projects/libgcrypt/build
+++ b/projects/libgcrypt/build
@@ -6,11 +6,11 @@ mkdir -p /var/tmp/dist
 cd /var/tmp/dist
 tar xf $rootdir/[% c('input_files_by_name/libgpg-error') %]
 export PATH="/var/tmp/dist/libgpg-error/bin:$PATH"
-cd $rootdir
 distdir=/var/tmp/dist/[% project %]
 mkdir -p $distdir
-tar xf [% project %]-[% c('version') %].tar.bz2
-cd [% project %]-[% c('version') %]
+mkdir /var/tmp/build
+tar -C /var/tmp/build -xf $rootdir/[% project %]-[% c('version') %].tar.bz2
+cd /var/tmp/build/[% project %]-[% c('version') %]
 [% IF c("var/osx") -%]
 # our compiler does not like -g
 sed -i 's/ac_cv_prog_cc_g=yes/ac_cv_prog_cc_g=no/' configure



_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits