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/dockerfiles/build.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'scripts/dockerfiles/build.sh') diff --git a/scripts/dockerfiles/build.sh b/scripts/dockerfiles/build.sh index 4617da14..36f6a468 100755 --- a/scripts/dockerfiles/build.sh +++ b/scripts/dockerfiles/build.sh @@ -21,13 +21,13 @@ fi # Replace the database root password in database image Dockerfile. sed -i "s/THE_DB_PASSWORD/$DB_PASSWORD/g" images/$DB_TYPE/Dockerfile -# Replace the database root password in gogits image deploy.sh file. +# Replace the database root password in gogits image deploy.sh file. sed -i "s/THE_DB_PASSWORD/$DB_PASSWORD/g" images/gogits/deploy.sh -# Replace the apt source in gogits image Dockerfile. +# Replace the apt source in gogits image Dockerfile. sed -i "s/#$APT_SOURCE#//" images/gogits/Dockerfile # Uncomment the installation of database lib in gogs Dockerfile sed -i "s/#$DB_TYPE#//" images/gogits/Dockerfile -# Replace the database type in gogits image deploy.sh file. +# Replace the database type in gogits image deploy.sh file. sed -i "s/THE_DB_TYPE/$DB_TYPE/g" images/gogits/deploy.sh if [ $MEM_TYPE != "" ] -- cgit v1.2.3