View Single Post
Old 08-30-2013, 03:01 PM   #4
NiLuJe
BLAM!
NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.
 
NiLuJe's Avatar
 
Posts: 5,280
Karma: 5220867
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW & PW2; Kobo H2O
Wrapping up everything in tests is a good way to avoid everything blowing up if something's missing/wrong/broken.

(For debugging purposes (of the inlined parts of the script), testing your scripts with a shell in -e mode is also a good practice, especially if you rely on external tools with broken return codes).

Cf. dos1's tool for more examples, or the upstart jobs of the SS/Fonts hacks).

Last edited by NiLuJe; 08-30-2013 at 07:27 PM.
NiLuJe is offline   Reply With Quote