ports/74900: Bad sh syntax.

J. Johnston jeremy at smart-serv.net
Thu Dec 9 19:50:20 UTC 2004


>Number:         74900
>Category:       ports
>Synopsis:       Bad sh syntax.
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Dec 09 19:50:19 GMT 2004
>Closed-Date:
>Last-Modified:
>Originator:     J. Johnston
>Release:        FreeBSD 5.3-STABLE i386
>Organization:
SmartServ Hosting 
>Environment:


System: FreeBSD 5.3-STABLE #0: Thu Nov 25 11:00:48 MST 2004
    jeremy at lightning.smart-serv.net:/usr/obj/releng5/usr/src/releng5/sys/LIGHTNING



>Description:


livecd.sh fails due to bad syntax used in the file.


>How-To-Repeat:


running sh livecd.sh will report syntax error.


>Fix:


--- livecd.sh.orig      Thu Dec  9 12:48:01 2004
+++ livecd.sh   Thu Dec  9 12:48:32 2004
@@ -302,7 +302,7 @@
         /usr/local/bin/mkisofs -b boot/cdboot -no-emul-boot -c boot/boot.catalog  -r -l -L -V LiveCD -o $LIVEISODIR/LiveCD.iso . >> $LIVEDIR/log || aviso
        dialog --title "FreeBSD LiveCD" --msgbox "$i_dialogo_1" 5 60
 
-elif then
+else
         
        dialog --title "FreeBSD LiveCD" --msgbox "$i_dialogo_2" 5 75
        #
@@ -578,7 +578,7 @@
 do
 if [ -f ./config.ok ] ; then
        main_dialog
-elif then
+else
        idioma
 fi
 done


>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list