Skip to content

Commit 0312d2e

Browse files
committed
Use a variable for NodeJS SCL name
1 parent 40f1df8 commit 0312d2e

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

2.7/root/opt/app-root/etc/scl_enable

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,5 @@
22
# doing. This file is sourced everytime the shell session is opened.
33
# This will make scl collection binaries work out of box.
44
unset BASH_ENV PROMPT_COMMAND ENV
5-
source scl_source enable httpd24 rh-nodejs6 python27
5+
source scl_source enable httpd24 $NODEJS_SCL python27
66
source /opt/app-root/bin/activate

3.4/root/opt/app-root/etc/scl_enable

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,5 @@
22
# doing. This file is sourced everytime the shell session is opened.
33
# This will make scl collection binaries work out of box.
44
unset BASH_ENV PROMPT_COMMAND ENV
5-
source scl_source enable httpd24 rh-nodejs6 rh-python34
5+
source scl_source enable httpd24 $NODEJS_SCL rh-python34
66
source /opt/app-root/bin/activate

3.5/root/opt/app-root/etc/scl_enable

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,5 @@
22
# doing. This file is sourced everytime the shell session is opened.
33
# This will make scl collection binaries work out of box.
44
unset BASH_ENV PROMPT_COMMAND ENV
5-
source scl_source enable httpd24 rh-nodejs6 rh-python35
5+
source scl_source enable httpd24 $NODEJS_SCL rh-python35
66
source /opt/app-root/bin/activate

3.6/root/opt/app-root/etc/scl_enable

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,6 @@
22
# doing. This file is sourced everytime the shell session is opened.
33
# This will make scl collection binaries work out of box.
44
unset BASH_ENV PROMPT_COMMAND ENV
5-
source scl_source enable httpd24 rh-nodejs6 rh-python36
5+
source scl_source enable httpd24 $NODEJS_SCL rh-python36
66
source scl_source enable httpd24 rh-python36
77
source /opt/app-root/bin/activate

0 commit comments

Comments
 (0)