diff options
author | Tristan Storch <tstorch@math.uni-bielefeld.de> | 2014-08-30 15:12:53 +0200 |
---|---|---|
committer | Tristan Storch <tstorch@math.uni-bielefeld.de> | 2014-08-30 15:12:53 +0200 |
commit | 69e332f432c87ce83a488a8c06a02ded26f66beb (patch) | |
tree | 03c8ae1382e92612341df57856e9d1a17e1de8a9 /scripts/gogs_supervisord.sh | |
parent | 9bc63bda7ded31b77ad4aaf3495582a7c8555d2f (diff) |
Removed trailing white spaces
Removed trailing whitespaces with
```sh
for file in `grep -r " $" * | cut -d : -f 1 | sort | uniq | grep -v " "`; do sed -i 's/[ \t]*$//' $file; done
```
and some handwork.
Diffstat (limited to 'scripts/gogs_supervisord.sh')
-rwxr-xr-x | scripts/gogs_supervisord.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/gogs_supervisord.sh b/scripts/gogs_supervisord.sh index 3038407e..4488960e 100755 --- a/scripts/gogs_supervisord.sh +++ b/scripts/gogs_supervisord.sh @@ -5,8 +5,8 @@ echo 'plase remember to modify the command path in etc/supervisord.conf(line 23) PID="/tmp/supervisord.pid" CONF="etc/supervisord.conf" -LOGDIR="log" -if [ ! -d $LOGDIR ]; then +LOGDIR="log" +if [ ! -d $LOGDIR ]; then mkdir $LOGDIR fi |