[Pkg-octave-commit] [octave-pkg-dev] 01/02: octave-pkg.mk: Normalize the name of the temporary build directory
    Rafael Laboissière 
    rlaboiss-guest at moszumanska.debian.org
       
    Tue Oct 27 06:49:04 UTC 2015
    
    
  
This is an automated email from the git hooks/post-receive script.
rlaboiss-guest pushed a commit to branch master
in repository octave-pkg-dev.
commit 1a1c0f8fd1f4d1890252259823fae2c14eaa16f8
Author: Rafael Laboissiere <rafael at laboissiere.net>
Date:   Mon Oct 26 17:31:45 2015 -0200
    octave-pkg.mk: Normalize the name of the temporary build  directory
    
    This should prevent random variations in the build log, due to the
    call of the tempname function, and hence make reproducible builds by
    avoiding the random_buildpath_by_octave issue.
    
    Gbp-Dch: Full
---
 octave-pkg.mk | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/octave-pkg.mk b/octave-pkg.mk
index 1ed2d46..8b60813 100644
--- a/octave-pkg.mk
+++ b/octave-pkg.mk
@@ -110,7 +110,8 @@ install-pkg:
 		 if (exist ('PKG_ADD.bak') == 2),			\
 		     movefile ('PKG_ADD.bak', 'PKG_ADD');		\
 		 endif;							\
-		 pkg -verbose -nodeps install ."
+		 pkg -verbose -nodeps install ."			\
+	    | sed 's:/tmp/oct-[a-zA-Z0-9]\{6\}:[tmp-build-dir]:g'
 	$(shrpkg)/dh/octave-pkg-helper
 	dh_install --package=$(package)
 
-- 
Alioth's /home/groups/pkg-octave/bin/git-commit-notice on /srv/git.debian.org/git/pkg-octave/octave-pkg-dev.git
    
    
More information about the Pkg-octave-commit
mailing list