Skip to content

Commit 533882f

Browse files
author
Sameer Naik
committed
renamed REDMINE_RUNTIME_DIR to REDMINE_RUNTIME_ASSETS_DIR
1 parent d10ab0d commit 533882f

File tree

7 files changed

+10
-10
lines changed

7 files changed

+10
-10
lines changed

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ ENV RUBY_VERSION=2.3 \
1313
ENV REDMINE_INSTALL_DIR="${REDMINE_HOME}/redmine" \
1414
REDMINE_DATA_DIR="${REDMINE_HOME}/data" \
1515
REDMINE_BUILD_ASSETS_DIR="${REDMINE_ASSETS_DIR}/build" \
16-
REDMINE_RUNTIME_DIR="${REDMINE_ASSETS_DIR}/runtime"
16+
REDMINE_RUNTIME_ASSETS_DIR="${REDMINE_ASSETS_DIR}/runtime"
1717

1818
RUN apt-get update \
1919
&& DEBIAN_FRONTEND=noninteractive apt-get install --no-install-recommends -y \
@@ -41,7 +41,7 @@ COPY assets/build/ ${REDMINE_BUILD_ASSETS_DIR}/
4141

4242
RUN bash ${REDMINE_BUILD_ASSETS_DIR}/install.sh
4343

44-
COPY assets/runtime/ ${REDMINE_RUNTIME_DIR}/
44+
COPY assets/runtime/ ${REDMINE_RUNTIME_ASSETS_DIR}/
4545

4646
COPY assets/tools/ /usr/bin/
4747

assets/build/install.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ cat > /tmp/cron.${REDMINE_USER} <<EOF
2424
REDMINE_USER=${REDMINE_USER}
2525
REDMINE_INSTALL_DIR=${REDMINE_INSTALL_DIR}
2626
REDMINE_DATA_DIR=${REDMINE_DATA_DIR}
27-
REDMINE_RUNTIME_DIR=${REDMINE_RUNTIME_DIR}
27+
REDMINE_RUNTIME_ASSETS_DIR=${REDMINE_RUNTIME_ASSETS_DIR}
2828
PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
2929
EOF
3030
crontab -u ${REDMINE_USER} /tmp/cron.${REDMINE_USER}

assets/runtime/functions

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
#!/bin/bash
22
set -e
3-
source ${REDMINE_RUNTIME_DIR}/env-defaults
3+
source ${REDMINE_RUNTIME_ASSETS_DIR}/env-defaults
44

5-
SYSCONF_TEMPLATES_DIR="${REDMINE_RUNTIME_DIR}/config"
5+
SYSCONF_TEMPLATES_DIR="${REDMINE_RUNTIME_ASSETS_DIR}/config"
66
USERCONF_TEMPLATES_DIR="${REDMINE_DATA_DIR}/config"
77

88
REDMINE_CONFIG="${REDMINE_INSTALL_DIR}/config/configuration.yml"
@@ -127,7 +127,7 @@ redmine_finalize_database_parameters() {
127127
DB_USER=${DB_USER:-${POSTGRESQL_ENV_POSTGRES_USER}}
128128
DB_PASS=${DB_PASS:-${POSTGRESQL_ENV_POSTGRES_PASSWORD}}
129129
DB_NAME=${DB_NAME:-${POSTGRESQL_ENV_POSTGRES_DB}}
130-
#TODO: Probally BUG Let See if some one has errors
130+
#TODO: Probally BUG Let See if some one has errors
131131
#i don't get errors
132132
#DB_NAME=${DB_NAME:-${POSTGRESQL_ENV_POSTGRES_USER}}
133133

assets/tools/redmine-backup-create

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,6 @@
22
## Script to generate backup of running Redmine instance from the BASH shell
33

44
set -e
5-
source ${REDMINE_RUNTIME_DIR}/functions
5+
source ${REDMINE_RUNTIME_ASSETS_DIR}/functions
66

77
backup_create $@

assets/tools/redmine-install-plugins

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
## Script to generate backup of running Redmine instance from the BASH shell
33

44
set -e
5-
source ${REDMINE_RUNTIME_DIR}/functions
5+
source ${REDMINE_RUNTIME_ASSETS_DIR}/functions
66

77
install_plugins
88

assets/tools/redmine-install-themes

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
## Script to generate backup of running Redmine instance from the BASH shell
33

44
set -e
5-
source ${REDMINE_RUNTIME_DIR}/functions
5+
source ${REDMINE_RUNTIME_ASSETS_DIR}/functions
66

77
install_themes
88

entrypoint.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/bin/bash
22
set -e
3-
source ${REDMINE_RUNTIME_DIR}/functions
3+
source ${REDMINE_RUNTIME_ASSETS_DIR}/functions
44

55
[[ $DEBUG == true ]] && set -x
66

0 commit comments

Comments
 (0)