Skip to content

Commit aa53968

Browse files
committed
Use variable instead of hardcoding string
1 parent c17d226 commit aa53968

9 files changed

Lines changed: 18 additions & 18 deletions

File tree

releases/22.0.0.12/full/helpers/build/configure-liberty.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,8 @@ if [ "$SERVER_NAME" != "$ORIGINAL_SERVER_NAME" ] && [ -d "$OPT_PREFIX/wlp/usr/se
2929
chmod -R g+w $OPT_PREFIX/wlp/usr/servers/$SERVER_NAME
3030

3131
# Delete old symlinks
32-
rm /opt/ol/links/output
33-
rm /opt/ol/links/config
32+
rm $OPT_PREFIX/links/output
33+
rm $OPT_PREFIX/links/config
3434

3535
# Add new output folder symlink and resolve group write permissions
3636
SERVER_OUTPUT_DIR=$WLP_OUTPUT_DIR/$SERVER_NAME

releases/22.0.0.12/kernel-slim/helpers/build/configure-liberty.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,8 @@ if [ "$SERVER_NAME" != "$ORIGINAL_SERVER_NAME" ] && [ -d "$OPT_PREFIX/wlp/usr/se
2929
chmod -R g+w $OPT_PREFIX/wlp/usr/servers/$SERVER_NAME
3030

3131
# Delete old symlinks
32-
rm /opt/ol/links/output
33-
rm /opt/ol/links/config
32+
rm $OPT_PREFIX/links/output
33+
rm $OPT_PREFIX/links/config
3434

3535
# Add new output folder symlink and resolve group write permissions
3636
SERVER_OUTPUT_DIR=$WLP_OUTPUT_DIR/$SERVER_NAME

releases/23.0.0.3/full/helpers/build/configure-liberty.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,8 @@ if [ "$SERVER_NAME" != "$ORIGINAL_SERVER_NAME" ] && [ -d "$OPT_PREFIX/wlp/usr/se
2929
chmod -R g+w $OPT_PREFIX/wlp/usr/servers/$SERVER_NAME
3030

3131
# Delete old symlinks
32-
rm /opt/ol/links/output
33-
rm /opt/ol/links/config
32+
rm $OPT_PREFIX/links/output
33+
rm $OPT_PREFIX/links/config
3434

3535
# Add new output folder symlink and resolve group write permissions
3636
SERVER_OUTPUT_DIR=$WLP_OUTPUT_DIR/$SERVER_NAME

releases/23.0.0.3/kernel-slim/helpers/build/configure-liberty.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,8 @@ if [ "$SERVER_NAME" != "$ORIGINAL_SERVER_NAME" ] && [ -d "$OPT_PREFIX/wlp/usr/se
2929
chmod -R g+w $OPT_PREFIX/wlp/usr/servers/$SERVER_NAME
3030

3131
# Delete old symlinks
32-
rm /opt/ol/links/output
33-
rm /opt/ol/links/config
32+
rm $OPT_PREFIX/links/output
33+
rm $OPT_PREFIX/links/config
3434

3535
# Add new output folder symlink and resolve group write permissions
3636
SERVER_OUTPUT_DIR=$WLP_OUTPUT_DIR/$SERVER_NAME

releases/23.0.0.5/full/helpers/build/configure-liberty.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,8 @@ if [ "$SERVER_NAME" != "$ORIGINAL_SERVER_NAME" ] && [ -d "$OPT_PREFIX/wlp/usr/se
2929
chmod -R g+w $OPT_PREFIX/wlp/usr/servers/$SERVER_NAME
3030

3131
# Delete old symlinks
32-
rm /opt/ol/links/output
33-
rm /opt/ol/links/config
32+
rm $OPT_PREFIX/links/output
33+
rm $OPT_PREFIX/links/config
3434

3535
# Add new output folder symlink and resolve group write permissions
3636
SERVER_OUTPUT_DIR=$WLP_OUTPUT_DIR/$SERVER_NAME

releases/23.0.0.5/kernel-slim/helpers/build/configure-liberty.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,8 @@ if [ "$SERVER_NAME" != "$ORIGINAL_SERVER_NAME" ] && [ -d "$OPT_PREFIX/wlp/usr/se
2929
chmod -R g+w $OPT_PREFIX/wlp/usr/servers/$SERVER_NAME
3030

3131
# Delete old symlinks
32-
rm /opt/ol/links/output
33-
rm /opt/ol/links/config
32+
rm $OPT_PREFIX/links/output
33+
rm $OPT_PREFIX/links/config
3434

3535
# Add new output folder symlink and resolve group write permissions
3636
SERVER_OUTPUT_DIR=$WLP_OUTPUT_DIR/$SERVER_NAME

releases/latest/beta/helpers/build/configure-liberty.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,8 @@ if [ "$SERVER_NAME" != "$ORIGINAL_SERVER_NAME" ] && [ -d "$OPT_PREFIX/wlp/usr/se
2929
chmod -R g+w $OPT_PREFIX/wlp/usr/servers/$SERVER_NAME
3030

3131
# Delete old symlinks
32-
rm /opt/ol/links/output
33-
rm /opt/ol/links/config
32+
rm $OPT_PREFIX/links/output
33+
rm $OPT_PREFIX/links/config
3434

3535
# Add new output folder symlink and resolve group write permissions
3636
SERVER_OUTPUT_DIR=$WLP_OUTPUT_DIR/$SERVER_NAME

releases/latest/full/helpers/build/configure-liberty.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,8 @@ if [ "$SERVER_NAME" != "$ORIGINAL_SERVER_NAME" ] && [ -d "$OPT_PREFIX/wlp/usr/se
2929
chmod -R g+w $OPT_PREFIX/wlp/usr/servers/$SERVER_NAME
3030

3131
# Delete old symlinks
32-
rm /opt/ol/links/output
33-
rm /opt/ol/links/config
32+
rm $OPT_PREFIX/links/output
33+
rm $OPT_PREFIX/links/config
3434

3535
# Add new output folder symlink and resolve group write permissions
3636
SERVER_OUTPUT_DIR=$WLP_OUTPUT_DIR/$SERVER_NAME

releases/latest/kernel-slim/helpers/build/configure-liberty.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,8 @@ if [ "$SERVER_NAME" != "$ORIGINAL_SERVER_NAME" ] && [ -d "$OPT_PREFIX/wlp/usr/se
2929
chmod -R g+w $OPT_PREFIX/wlp/usr/servers/$SERVER_NAME
3030

3131
# Delete old symlinks
32-
rm /opt/ol/links/output
33-
rm /opt/ol/links/config
32+
rm $OPT_PREFIX/links/output
33+
rm $OPT_PREFIX/links/config
3434

3535
# Add new output folder symlink and resolve group write permissions
3636
SERVER_OUTPUT_DIR=$WLP_OUTPUT_DIR/$SERVER_NAME

0 commit comments

Comments
 (0)