summaryrefslogtreecommitdiffstats
path: root/scripts/dockerfiles/build.sh
diff options
context:
space:
mode:
authorTristan Storch <tstorch@math.uni-bielefeld.de>2014-08-30 15:12:53 +0200
committerTristan Storch <tstorch@math.uni-bielefeld.de>2014-08-30 15:12:53 +0200
commit69e332f432c87ce83a488a8c06a02ded26f66beb (patch)
tree03c8ae1382e92612341df57856e9d1a17e1de8a9 /scripts/dockerfiles/build.sh
parent9bc63bda7ded31b77ad4aaf3495582a7c8555d2f (diff)
downloadgitea-69e332f432c87ce83a488a8c06a02ded26f66beb.tar.gz
gitea-69e332f432c87ce83a488a8c06a02ded26f66beb.zip
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/dockerfiles/build.sh')
-rwxr-xr-xscripts/dockerfiles/build.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/scripts/dockerfiles/build.sh b/scripts/dockerfiles/build.sh
index 4617da1421..36f6a468a1 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 != "" ]