[Pkg-octave-commit] r2382 - in octave-pkg-dev/trunk: . debian
Thomas Weber
thomas-guest at alioth.debian.org
Thu Aug 21 12:11:03 UTC 2008
Author: thomas-guest
Date: 2008-08-21 12:11:02 +0000 (Thu, 21 Aug 2008)
New Revision: 2382
Modified:
octave-pkg-dev/trunk/debian/changelog
octave-pkg-dev/trunk/octave-pkg.mk.in
Log:
export bash variable OCTAVE_HISTFILE and let it point to /dev/null
Even with --no-history, Octave still creates an (empty) ~/.octave_hist file.
This leads to 'permission denied' errors in the build log, when $HOME is not
writable.
Modified: octave-pkg-dev/trunk/debian/changelog
===================================================================
--- octave-pkg-dev/trunk/debian/changelog 2008-08-20 07:33:54 UTC (rev 2381)
+++ octave-pkg-dev/trunk/debian/changelog 2008-08-21 12:11:02 UTC (rev 2382)
@@ -9,8 +9,12 @@
there even if purged (bug spotted by Thomas Weber)
* debian/postrm-octpkg: Renamed from prerm-octpkg
- -- Rafael Laboissiere <rafael at debian.org> Sun, 03 Aug 2008 09:18:24 +0200
+ [ Thomas Weber ]
+ * Set OCTAVE_HISTFILE to /dev/null, otherwise Octave creates an empty
+ ~/.octave_hist file even when called with --no-history
+ -- Thomas Weber <thomas.weber.mail at gmail.com> Thu, 21 Aug 2008 13:32:10 +0200
+
octave-pkg-dev (0.5.7) unstable; urgency=low
[ Thomas Weber ]
Modified: octave-pkg-dev/trunk/octave-pkg.mk.in
===================================================================
--- octave-pkg-dev/trunk/octave-pkg.mk.in 2008-08-20 07:33:54 UTC (rev 2381)
+++ octave-pkg-dev/trunk/octave-pkg.mk.in 2008-08-21 12:11:02 UTC (rev 2382)
@@ -32,6 +32,10 @@
apiversion = $(shell octave-config -p API_VERSION)
octave_options = --no-history --silent --no-init-file
+export OCTAVE_HISTFILE=/dev/null
+# even with '--no-history', Octave creates an empty .octave_hist at startup,
+# resulting in 'permission denied errors on the buildds
+
install/$(package):: \
create-dirs \
install-pkg \
More information about the Pkg-octave-commit
mailing list