Altered scene config options to be more consistent with style of rest of file

master
Mike Gerwitz 2011-08-22 17:10:10 -04:00
parent 795f744bbc
commit 69fd051a86
3 changed files with 7 additions and 6 deletions

View File

@ -1,4 +1,4 @@
type=end TYPE end
STORY STORY
Uh oh. Seems like we have a problem, %name%. Uh oh. Seems like we have a problem, %name%.

View File

@ -1,4 +1,5 @@
type=trans TYPE trans
NEXT introname
STORY STORY
This project is primarily a GNU Screen integration demo. This project is primarily a GNU Screen integration demo.

View File

@ -16,8 +16,8 @@ getval="$mypath/getval"
getconf() getconf()
{ {
grep -m 1 "^$1=" <<< "$cdata" \ grep -m 1 "^$1 " <<< "$cdata" \
| cut -d'=' -f2 | cut -d' ' -f2-
} }
setscene() setscene()
@ -51,8 +51,8 @@ cdata=$(
<<< "$scene" <<< "$scene"
) )
type="$( getconf type )" type="$( getconf TYPE )"
nextscene="$( getconf next )" nextscene="$( getconf NEXT )"
# clear the screen to prepare to render the scene # clear the screen to prepare to render the scene
clear clear