From 69e332f432c87ce83a488a8c06a02ded26f66beb Mon Sep 17 00:00:00 2001 From: Tristan Storch Date: Sat, 30 Aug 2014 15:12:53 +0200 Subject: 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. --- scripts/gogs_supervisord.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'scripts/gogs_supervisord.sh') 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 -- cgit v1.2.3