Mercurial > mxe-octave
comparison makeinst-script.sh @ 3760:1f870f80ed71
makeinst-script: add \n to found icon file list (Bug #43909)
* makeinst-script.sh: add \n to file printf on ICON=find command
author | John Donoghue <john.donoghue@ieee.org> |
---|---|
date | Wed, 31 Dec 2014 20:46:31 -0500 |
parents | 7a6637aa3aae |
children | 5796aeaa4df4 |
comparison
equal
deleted
inserted
replaced
3759:0023c034ec4a | 3760:1f870f80ed71 |
---|---|
19 DEFAULT_BLAS="Reference BLAS" | 19 DEFAULT_BLAS="Reference BLAS" |
20 fi | 20 fi |
21 | 21 |
22 | 22 |
23 # find octave shortcut icon | 23 # find octave shortcut icon |
24 ICON=`find $OCTAVE_SOURCE -name octave-logo.ico -printf "%P" | head -1 | sed 's,/,\\\\,g'` | 24 ICON=`find $OCTAVE_SOURCE -name octave-logo.ico -printf "%P\n" | head -1 | sed 's,/,\\\\,g'` |
25 | 25 |
26 # extract version number | 26 # extract version number |
27 OCTAVE_VERSION=`head -1 $MXEDIR/octave/octave-version` | 27 OCTAVE_VERSION=`head -1 $MXEDIR/octave/octave-version` |
28 VERSION=`echo $OCTAVE_VERSION | sed -n 's,\([0-9\.]*\).*,\1,p'` | 28 VERSION=`echo $OCTAVE_VERSION | sed -n 's,\([0-9\.]*\).*,\1,p'` |
29 | 29 |