Mentions légales du service

Skip to content
Snippets Groups Projects
Commit 8a216bfb authored by hhakim's avatar hhakim
Browse files

Update linux deb/rpm package matlab post-install script as already done for macos (by 37d9452b).

parent 6d113fc6
No related branches found
No related tags found
No related merge requests found
...@@ -11,7 +11,7 @@ function inject_matlab_code_to_update_path ...@@ -11,7 +11,7 @@ function inject_matlab_code_to_update_path
# each line must contains the word faust (for filtering of old install lines) # each line must contains the word faust (for filtering of old install lines)
FILE=$1 FILE=$1
echo "% Edit at your own risk: automatically added by the FAuST installer ${CPACK_PACKAGE_VERSION} to enable access to the FAuST library, https://faust.inria.fr" >> "$FILE" echo "% Edit at your own risk: automatically added by the FAuST installer ${CPACK_PACKAGE_VERSION} to enable access to the FAuST library, https://faust.inria.fr" >> "$FILE"
echo "matfaust_path = which('matfaust.version');" >> "$FILE" echo "matfaust_path = which('mexFaustReal');" >> "$FILE"
echo "if(isempty(matfaust_path))" >> "$FILE" echo "if(isempty(matfaust_path))" >> "$FILE"
echo "addpath('"$FAUST_MATLAB_WRAPPER_PATH"')" >> "$FILE" echo "addpath('"$FAUST_MATLAB_WRAPPER_PATH"')" >> "$FILE"
echo "addpath(['"$FAUST_MATLAB_WRAPPER_PATH"' '/mex'])" >> "$FILE" echo "addpath(['"$FAUST_MATLAB_WRAPPER_PATH"' '/mex'])" >> "$FILE"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment