SPECS: brltty.spec - OOPS

ankry ankry at pld-linux.org
Sat Aug 12 17:51:23 CEST 2006


Author: ankry                        Date: Sat Aug 12 15:51:23 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- OOPS

---- Files affected:
SPECS:
   brltty.spec (1.9 -> 1.10) 

---- Diffs:

================================================================
Index: SPECS/brltty.spec
diff -u SPECS/brltty.spec:1.9 SPECS/brltty.spec:1.10
--- SPECS/brltty.spec:1.9	Sat Aug 12 10:41:39 2006
+++ SPECS/brltty.spec	Sat Aug 12 17:51:18 2006
@@ -254,7 +254,7 @@
 	}
 	startConfigurationFile()
 	{
-		if [ -n "${configurationFile}" ] then
+		if [ -n "${configurationFile}" ]; then
 			[ -e "${configurationFile}" ] || syntaxError "file not found: ${configurationFile}"
 			[ -f "${configurationFile}" ] || syntaxError "not a file: ${configurationFile}"
 			[ -r "${configurationFile}" ] || syntaxError "file not readable: ${configurationFile}"
@@ -290,12 +290,12 @@
 translateDevice_devfs()
 {
 	minor="${device#ttyS}"
-	if [ "${minor}" != "${device}" ] then
+	if [ "${minor}" != "${device}" ]; then
 		device="tts/${minor}"
 		return 0
 	fi
 	minor="${device#lp}"
-	if [ "${minor}" != "${device}" ] then
+	if [ "${minor}" != "${device}" ]; then
 		device="printers/${minor}"
 		return 0
 	fi
@@ -304,14 +304,14 @@
 translateDevice_old()
 {
 	major="${device%%/*}"
-	if [ "${major}" != "${device}" ] then
+	if [ "${major}" != "${device}" ]; then
 		minor="${device#*/}"
 		case "${major}" in
 		    tts) devfs="ttyS${minor}";;
 		    printers) devfs="lp${minor}";;
 		esac
 	fi
-	if [ -n "${devfs}" ] then
+	if [ -n "${devfs}" ]; then
 		device="${devfs}"
 	else
 		programMessage "unsupported devfs device: ${device}"
@@ -332,7 +332,7 @@
 	[ -n "${brailleDriver}" ] && putConfigurationDirective "braille-driver" "${brailleDriver}"
 	[ -n "${brailleDevice}" ] && {
 	device="`echo "${brailleDevice}" | sed -e 's%//*%/%g' -e 's%^/dev/%%'`"
-	if [ "${device#/}" = "${device}" ] then
+	if [ "${device#/}" = "${device}" ]; then
 		translateDevice_${deviceTranslation}
 	fi
 	putConfigurationDirective "braille-device" "${device}"
@@ -344,11 +344,11 @@
 {
 	bootParameter="${bootParameter} ${1}"
 	number=1
-	while [ "${number}" -le 3 ] do
+	while [ "${number}" -le 3 ]; do
 		cut="cut -d, -f${number}"
 		[ "${number}" -gt 1 ] && cut="${cut} -s"
 		operand="`echo ${1} | ${cut}`"
-		if [ -n "${operand}" ] then
+		if [ -n "${operand}" ]; then
 			case "${number}" in
 			    1) brailleDriver="${operand}";;
 			    2) brailleDevice="${operand}";;
@@ -366,7 +366,7 @@
 parseBootCommand()
 {
 	found=false
-	while [ "${#}" -gt 0 ] do
+	while [ "${#}" -gt 0 ]; do
 		case "${1}" in
 		    "brltty="*)
 			found=true
@@ -382,11 +382,11 @@
 brailleDevice=""
 textTable=""
 bootCommandFile="/proc/cmdline"
-if [ -n "${requestedParameter}" ] then
+if [ -n "${requestedParameter}" ]; then
 	putBootParameter "${requestedParameter}"
-elif [ -f "${bootCommandFile}" ] then
+elif [ -f "${bootCommandFile}" ]; then
 	parseBootCommand `cat "${bootCommandFile}"`
-elif [ -n "${brltty}" ] then
+elif [ -n "${brltty}" ]; then
 	putBootParameter "${brltty}"
 fi
 exit 0
@@ -431,6 +431,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.10  2006/08/12 15:51:18  ankry
+- OOPS
+
 Revision 1.9  2006/08/12 08:41:39  ankry
 - formatting
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/brltty.spec?r1=1.9&r2=1.10&f=u



More information about the pld-cvs-commit mailing list