propellor spin

This commit is contained in:
Joey Hess 2015-03-12 19:41:35 -04:00
parent 75f0cb36a4
commit 93e750fc83
Failed to extract signature
1 changed files with 3 additions and 2 deletions

View File

@ -48,12 +48,13 @@ scrollBox = propertyList "scroll server" $ props
, "rm -f \"$t\"" , "rm -f \"$t\""
, "mkdir \"$t\"" , "mkdir \"$t\""
, "cd \"$t\"" , "cd \"$t\""
, "echo"
, "echo Press Enter to start the game."
, "read me"
, "SHELL=/bin/sh script --timing=timing -c " ++ g , "SHELL=/bin/sh script --timing=timing -c " ++ g
] `onChange` (s `File.mode` (combineModes (ownerWriteMode:readModes ++ executeModes))) ] `onChange` (s `File.mode` (combineModes (ownerWriteMode:readModes ++ executeModes)))
& g `File.hasContent` & g `File.hasContent`
[ "#!/bin/sh" [ "#!/bin/sh"
, "echo Press Enter to start the game."
, "read me"
, "if ! ../../scroll/scroll; then" , "if ! ../../scroll/scroll; then"
, "echo Scroll seems to have ended unexpectedly. Possibly a bug.." , "echo Scroll seems to have ended unexpectedly. Possibly a bug.."
, "else" , "else"