News for hackers. Stuff that matters.
Re:Asciinema by verteu on Sunday June 21, 2015 @03:42PM (#9754681)
The author addresses this issue by wrapping the script [1] in {} braces:

    { # Prevent execution if this script was only partially downloaded
    # installation code here
    } # End of wrapping
I'm not sure if this is a bulletproof solution.

[1] https://asciinema.org/install

Re:Asciinema by sickill on Sunday June 21, 2015 @05:19PM (#9755025)
That's correct. In case bash doesn't see closing braces it will error out with "syntax error" and won't execute anything.