[arrayfire] 29/34: Send err messages to file for OSX installer
Ghislain Vaillant
ghisvail-guest at moszumanska.debian.org
Sun Sep 27 14:46:05 UTC 2015
This is an automated email from the git hooks/post-receive script.
ghisvail-guest pushed a commit to branch dfsg-clean
in repository arrayfire.
commit de4edd48c1ccf1ecbebacd4092d234435f36d107
Author: Umar Arshad <umar at arrayfire.com>
Date: Fri Sep 25 15:36:51 2015 -0400
Send err messages to file for OSX installer
---
CMakeModules/osx_install/cpu_scripts/postinstall | 6 +++---
CMakeModules/osx_install/cuda_scripts/postinstall | 4 ++--
CMakeModules/osx_install/opencl_scripts/postinstall | 4 ++--
3 files changed, 7 insertions(+), 7 deletions(-)
diff --git a/CMakeModules/osx_install/cpu_scripts/postinstall b/CMakeModules/osx_install/cpu_scripts/postinstall
index 2afb4f6..730065a 100755
--- a/CMakeModules/osx_install/cpu_scripts/postinstall
+++ b/CMakeModules/osx_install/cpu_scripts/postinstall
@@ -3,7 +3,7 @@
set -e
set -o pipefail
-err_file=/tmp/AFInstaller.err
+err_file=/tmp/AFInstallerCPU.err
brew=/usr/local/bin/brew
if [ ! -f $brew ]; then
@@ -20,5 +20,5 @@ if [ -z $user ]; then
exit 1
fi
-su $user -c "$brew tap homebrew/versions"
-su $user -c "$brew install fftw glfw3 fontconfig"
+su $user -c "$brew tap homebrew/versions" 2> $err_file
+su $user -c "$brew install fftw glfw3 fontconfig" 2> $err_file
diff --git a/CMakeModules/osx_install/cuda_scripts/postinstall b/CMakeModules/osx_install/cuda_scripts/postinstall
index 53d3f9a..4713f46 100755
--- a/CMakeModules/osx_install/cuda_scripts/postinstall
+++ b/CMakeModules/osx_install/cuda_scripts/postinstall
@@ -19,5 +19,5 @@ if [ -z $user ]; then
exit 1
fi
-su $user -c "$brew tap homebrew/versions"
-su $user -c "$brew install glfw3 fontconfig"
+su $user -c "$brew tap homebrew/versions" 2> $err_file
+su $user -c "$brew install glfw3 fontconfig" 2> $err_file
diff --git a/CMakeModules/osx_install/opencl_scripts/postinstall b/CMakeModules/osx_install/opencl_scripts/postinstall
index 8ce2577..0dd01a2 100755
--- a/CMakeModules/osx_install/opencl_scripts/postinstall
+++ b/CMakeModules/osx_install/opencl_scripts/postinstall
@@ -19,5 +19,5 @@ if [ -z $user ]; then
exit 1
fi
-su $user -c "$brew tap homebrew/versions"
-su $user -c "$brew install glfw3 fontconfig"
+su $user -c "$brew tap homebrew/versions" 2> $err_file
+su $user -c "$brew install glfw3 fontconfig" 2> $err_file
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/arrayfire.git
More information about the debian-science-commits
mailing list