diff 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
line wrap: on
line diff
--- a/makeinst-script.sh	Tue Dec 30 14:35:32 2014 -0500
+++ b/makeinst-script.sh	Wed Dec 31 20:46:31 2014 -0500
@@ -21,7 +21,7 @@
 
 
 # find octave shortcut icon
-ICON=`find $OCTAVE_SOURCE -name octave-logo.ico -printf "%P" | head -1 | sed 's,/,\\\\,g'`
+ICON=`find $OCTAVE_SOURCE -name octave-logo.ico -printf "%P\n" | head -1 | sed 's,/,\\\\,g'`
 
 # extract version number
 OCTAVE_VERSION=`head -1 $MXEDIR/octave/octave-version`