Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 9 Dec 2004 12:49:40 -0700
From:      "J. Johnston" <jeremy@smart-serv.net>
To:        "FreeBSD gnats submit" <FreeBSD-gnats-submit@FreeBSD.org>
Subject:   ports/74900: Bad sh syntax.
Message-ID:  <1102621780.0@lightning.smart-serv.net>
Resent-Message-ID: <200412091950.iB9JoKvR006865@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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@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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1102621780.0>