aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlessandro Barbieri <lssndrbarbieri@gmail.com>2022-05-07 00:54:27 +0200
committerAlessandro Barbieri <lssndrbarbieri@gmail.com>2022-05-07 01:44:10 +0200
commited21e2c5c9580c3053eb76f90c6fa7d7a2d7750e (patch)
treef1059db266c1133a531cbfda70a5db339250dd5b
parentdev-octave/miscellaneous: new package, add 1.3.0 (diff)
downloadguru-ed21e2c5.tar.gz
guru-ed21e2c5.tar.bz2
guru-ed21e2c5.zip
octaveforge.eclass: query datadir
Signed-off-by: Alessandro Barbieri <lssndrbarbieri@gmail.com>
-rw-r--r--eclass/octaveforge.eclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/eclass/octaveforge.eclass b/eclass/octaveforge.eclass
index 022d89b33..8f8def97a 100644
--- a/eclass/octaveforge.eclass
+++ b/eclass/octaveforge.eclass
@@ -125,7 +125,7 @@ octaveforge_src_install() {
"
oct_pkgdir=$(octavecommand "${cmd}${stripcmd}" || die)
else
- cmd="disp(fullfile(__octave_config_info__('sharedir'),'octave'));"
+ cmd="disp(fullfile(__octave_config_info__('datadir'),'octave'));"
shareprefix=${DESTDIR}/$(octavecommand "${cmd}" || die)
cmd="disp(fullfile(__octave_config_info__('libdir'),'octave'));"
libprefix=${DESTDIR}/$(octavecommand "${cmd}" || die)