Commit Graph

9 Commits (e95d5048e4fafb08165da6f74467b92eefdc4542)

Author SHA1 Message Date
Pierre Neidhardt 0943eb9115 scripts: Overhaul (syntax, exit code, help to stderr, errors, -- arg) 2016-10-13 16:53:30 +05:30
Pierre Neidhardt 8f384c3d3f scripts: Lint all scripts 2016-06-23 23:18:36 +02:00
Pierre Neidhardt 04b79f9b14 scripts/git-get: Format usage() 2015-09-22 14:00:27 +02:00
Pierre Neidhardt 9857145fb1 scripts: Reformat with tabs and more consistent style 2014-11-12 16:15:39 +01:00
Pierre Neidhardt c55236c71d Scripts: removed bashism from getops and secured cd with --. 2014-02-10 15:05:27 +01:00
Pierre Neidhardt c6bfd146d7 Scripts: removed useless functions in stdin/files scripts 2014-01-06 11:24:43 +01:00
Pierre Neidhardt 9233dad745 Script+Shell: fixed and standardize PATH checking
We redirect stderr to NULL since POSIX says it may be used (no modern shell
seems to be using it).

If more than 1 program is checked for availability, we use a function.

Emacs snippet make it uniform.

Error message is output on stderr and is always the same.
2014-01-03 19:13:07 +01:00
Pierre Neidhardt bd217da27e git-get: fixed help. 2013-11-28 15:10:57 +01:00
Pierre Neidhardt 90a6b296c4 scripts: moved bb from shell functions and renamed to git-get.
Made more flexible btw.
2013-11-14 18:12:05 +01:00