Skip to content

Commit a1874cd

Browse files
modified status_rh_postgresql13 to status_rh_postgresql to make it generic
Signed-off-by: Innovative-ashwin <[email protected]>
1 parent 5eaa479 commit a1874cd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

make_rpm

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -124,15 +124,15 @@ if [[ $skip_build == 0 ]]; then
124124

125125
# Enables/verifies the environment for the build
126126
source scl_source enable ${rhpg_pkg}
127-
status_rh_postgresql13=$?
127+
status_rh_postgresql=$?
128128

129129
source scl_source enable ${rhgcc_pkg}
130130
status_devtoolset=$?
131131

132132
command -v pg_isready > /dev/null
133133
status_pg_isready=$?
134134

135-
if [[ $status_rh_postgresql13 != 0 ]]; then
135+
if [[ $status_rh_postgresql != 0 ]]; then
136136
echo "ERROR : it is not possible to enable the ${rhpg_pkg} environment"
137137
exit 1
138138
fi

0 commit comments

Comments
 (0)