changeset 3571:44eb8941c35f

fix make nsis-installer * binary-dist-files.mk: (make-installer-file): Add \ & ;\ to if test block.
author John Donoghue <john.donoghue@ieee.org>
date Thu, 20 Mar 2014 18:48:01 -0400
parents c7725f722155
children 1f59ee0070ef
files binary-dist-rules.mk
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/binary-dist-rules.mk	Wed Mar 19 15:12:53 2014 -0400
+++ b/binary-dist-rules.mk	Thu Mar 20 18:48:01 2014 -0400
@@ -136,9 +136,9 @@
 	@$(install-octave-wrapper-scripts)
 
 define make-installer-file
-  if [ -f $(OCTAVE_NSI_FILE) ]; then
-    echo "deleting previous installer script..."
-    rm -f $(OCTAVE_NSI_FILE)
+  if [ -f $(OCTAVE_NSI_FILE) ]; then \
+    echo "deleting previous installer script..."; \
+    rm -f $(OCTAVE_NSI_FILE); \
   fi
   echo "generating installer script..."
   ./makeinst-script.sh $(OCTAVE_DIST_DIR) $(OCTAVE_NSI_FILE)