bin: nitc does no more rely on procfs
authorJean Privat <jean@pryen.org>
Sun, 2 Nov 2014 16:01:39 +0000 (11:01 -0500)
committerJean Privat <jean@pryen.org>
Mon, 3 Nov 2014 15:02:09 +0000 (10:02 -0500)
commit186012368e1a385b790df332e04b8db9fb339aee
treec6dd2915ecca2c47145f0feffa5b3205e00f0660
parente1b34c3b6021fc4c45c45633f8ed6dfcca55cee3
bin: nitc does no more rely on procfs

procfs (/proc/) does not exists on some system (macosx).
So use `$BASH_SOURCE` to approximate the original source-file.

Maybe we should just rename back nitg to nitc.

Reported-by: Alexandre Blondin Massé <alexandre.blondin.masse@gmail.com>
Signed-off-by: Jean Privat <jean@pryen.org>
bin/nitc