Skip to content

Commit

Permalink
Merge pull request #162 from eclipse/issue-160-generate-jetty-start
Browse files Browse the repository at this point in the history
Issue #160 - add fix for generate-jetty-start.sh file
  • Loading branch information
lachlan-roberts authored Sep 6, 2023
2 parents ea2d376 + 09ad098 commit fa377fc
Show file tree
Hide file tree
Showing 67 changed files with 214 additions and 200 deletions.
6 changes: 3 additions & 3 deletions amazoncorretto/10.0/jdk11-alpine/generate-jetty-start.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@ if [ -z "$JETTY_START" ] ; then
fi
rm -f $JETTY_START
DRY_RUN=$(/docker-entrypoint.sh "$@" --dry-run)
echo "exec $DRY_RUN" \
DRY_RUN=$(echo "$DRY_RUN" \
| egrep '[^ ]*java .*org\.eclipse\.jetty\.xml\.XmlConfiguration ' \
| sed -e 's/ -Djava.io.tmpdir=[^ ]*//g' -e 's/\\$//' \
> $JETTY_START
| sed -e 's/ -Djava.io.tmpdir=[^ ]*//g' -e 's/\\$//')
echo "exec $DRY_RUN" > $JETTY_START

# If jetty.start doesn't have content then the dry-run failed.
if ! [ -s $JETTY_START ]; then
Expand Down
6 changes: 3 additions & 3 deletions amazoncorretto/10.0/jdk11/generate-jetty-start.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@ if [ -z "$JETTY_START" ] ; then
fi
rm -f $JETTY_START
DRY_RUN=$(/docker-entrypoint.sh "$@" --dry-run)
echo "exec $DRY_RUN" \
DRY_RUN=$(echo "$DRY_RUN" \
| egrep '[^ ]*java .*org\.eclipse\.jetty\.xml\.XmlConfiguration ' \
| sed -e 's/ -Djava.io.tmpdir=[^ ]*//g' -e 's/\\$//' \
> $JETTY_START
| sed -e 's/ -Djava.io.tmpdir=[^ ]*//g' -e 's/\\$//')
echo "exec $DRY_RUN" > $JETTY_START

# If jetty.start doesn't have content then the dry-run failed.
if ! [ -s $JETTY_START ]; then
Expand Down
6 changes: 3 additions & 3 deletions amazoncorretto/10.0/jdk17-alpine/generate-jetty-start.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@ if [ -z "$JETTY_START" ] ; then
fi
rm -f $JETTY_START
DRY_RUN=$(/docker-entrypoint.sh "$@" --dry-run)
echo "exec $DRY_RUN" \
DRY_RUN=$(echo "$DRY_RUN" \
| egrep '[^ ]*java .*org\.eclipse\.jetty\.xml\.XmlConfiguration ' \
| sed -e 's/ -Djava.io.tmpdir=[^ ]*//g' -e 's/\\$//' \
> $JETTY_START
| sed -e 's/ -Djava.io.tmpdir=[^ ]*//g' -e 's/\\$//')
echo "exec $DRY_RUN" > $JETTY_START

# If jetty.start doesn't have content then the dry-run failed.
if ! [ -s $JETTY_START ]; then
Expand Down
6 changes: 3 additions & 3 deletions amazoncorretto/10.0/jdk17/generate-jetty-start.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@ if [ -z "$JETTY_START" ] ; then
fi
rm -f $JETTY_START
DRY_RUN=$(/docker-entrypoint.sh "$@" --dry-run)
echo "exec $DRY_RUN" \
DRY_RUN=$(echo "$DRY_RUN" \
| egrep '[^ ]*java .*org\.eclipse\.jetty\.xml\.XmlConfiguration ' \
| sed -e 's/ -Djava.io.tmpdir=[^ ]*//g' -e 's/\\$//' \
> $JETTY_START
| sed -e 's/ -Djava.io.tmpdir=[^ ]*//g' -e 's/\\$//')
echo "exec $DRY_RUN" > $JETTY_START

# If jetty.start doesn't have content then the dry-run failed.
if ! [ -s $JETTY_START ]; then
Expand Down
6 changes: 3 additions & 3 deletions amazoncorretto/11.0/jdk11-alpine/generate-jetty-start.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@ if [ -z "$JETTY_START" ] ; then
fi
rm -f $JETTY_START
DRY_RUN=$(/docker-entrypoint.sh "$@" --dry-run)
echo "exec $DRY_RUN" \
DRY_RUN=$(echo "$DRY_RUN" \
| egrep '[^ ]*java .*org\.eclipse\.jetty\.xml\.XmlConfiguration ' \
| sed -e 's/ -Djava.io.tmpdir=[^ ]*//g' -e 's/\\$//' \
> $JETTY_START
| sed -e 's/ -Djava.io.tmpdir=[^ ]*//g' -e 's/\\$//')
echo "exec $DRY_RUN" > $JETTY_START

# If jetty.start doesn't have content then the dry-run failed.
if ! [ -s $JETTY_START ]; then
Expand Down
6 changes: 3 additions & 3 deletions amazoncorretto/11.0/jdk11/generate-jetty-start.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@ if [ -z "$JETTY_START" ] ; then
fi
rm -f $JETTY_START
DRY_RUN=$(/docker-entrypoint.sh "$@" --dry-run)
echo "exec $DRY_RUN" \
DRY_RUN=$(echo "$DRY_RUN" \
| egrep '[^ ]*java .*org\.eclipse\.jetty\.xml\.XmlConfiguration ' \
| sed -e 's/ -Djava.io.tmpdir=[^ ]*//g' -e 's/\\$//' \
> $JETTY_START
| sed -e 's/ -Djava.io.tmpdir=[^ ]*//g' -e 's/\\$//')
echo "exec $DRY_RUN" > $JETTY_START

# If jetty.start doesn't have content then the dry-run failed.
if ! [ -s $JETTY_START ]; then
Expand Down
6 changes: 3 additions & 3 deletions amazoncorretto/11.0/jdk17-alpine/generate-jetty-start.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@ if [ -z "$JETTY_START" ] ; then
fi
rm -f $JETTY_START
DRY_RUN=$(/docker-entrypoint.sh "$@" --dry-run)
echo "exec $DRY_RUN" \
DRY_RUN=$(echo "$DRY_RUN" \
| egrep '[^ ]*java .*org\.eclipse\.jetty\.xml\.XmlConfiguration ' \
| sed -e 's/ -Djava.io.tmpdir=[^ ]*//g' -e 's/\\$//' \
> $JETTY_START
| sed -e 's/ -Djava.io.tmpdir=[^ ]*//g' -e 's/\\$//')
echo "exec $DRY_RUN" > $JETTY_START

# If jetty.start doesn't have content then the dry-run failed.
if ! [ -s $JETTY_START ]; then
Expand Down
6 changes: 3 additions & 3 deletions amazoncorretto/11.0/jdk17/generate-jetty-start.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@ if [ -z "$JETTY_START" ] ; then
fi
rm -f $JETTY_START
DRY_RUN=$(/docker-entrypoint.sh "$@" --dry-run)
echo "exec $DRY_RUN" \
DRY_RUN=$(echo "$DRY_RUN" \
| egrep '[^ ]*java .*org\.eclipse\.jetty\.xml\.XmlConfiguration ' \
| sed -e 's/ -Djava.io.tmpdir=[^ ]*//g' -e 's/\\$//' \
> $JETTY_START
| sed -e 's/ -Djava.io.tmpdir=[^ ]*//g' -e 's/\\$//')
echo "exec $DRY_RUN" > $JETTY_START

# If jetty.start doesn't have content then the dry-run failed.
if ! [ -s $JETTY_START ]; then
Expand Down
6 changes: 3 additions & 3 deletions amazoncorretto/12.0/jdk17-alpine/generate-jetty-start.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@ if [ -z "$JETTY_START" ] ; then
fi
rm -f $JETTY_START
DRY_RUN=$(/docker-entrypoint.sh "$@" --dry-run)
echo "exec $DRY_RUN" \
DRY_RUN=$(echo "$DRY_RUN" \
| egrep '[^ ]*java .*org\.eclipse\.jetty\.xml\.XmlConfiguration ' \
| sed -e 's/ -Djava.io.tmpdir=[^ ]*//g' -e 's/\\$//' \
> $JETTY_START
| sed -e 's/ -Djava.io.tmpdir=[^ ]*//g' -e 's/\\$//')
echo "exec $DRY_RUN" > $JETTY_START

# If jetty.start doesn't have content then the dry-run failed.
if ! [ -s $JETTY_START ]; then
Expand Down
6 changes: 3 additions & 3 deletions amazoncorretto/12.0/jdk17/generate-jetty-start.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@ if [ -z "$JETTY_START" ] ; then
fi
rm -f $JETTY_START
DRY_RUN=$(/docker-entrypoint.sh "$@" --dry-run)
echo "exec $DRY_RUN" \
DRY_RUN=$(echo "$DRY_RUN" \
| egrep '[^ ]*java .*org\.eclipse\.jetty\.xml\.XmlConfiguration ' \
| sed -e 's/ -Djava.io.tmpdir=[^ ]*//g' -e 's/\\$//' \
> $JETTY_START
| sed -e 's/ -Djava.io.tmpdir=[^ ]*//g' -e 's/\\$//')
echo "exec $DRY_RUN" > $JETTY_START

# If jetty.start doesn't have content then the dry-run failed.
if ! [ -s $JETTY_START ]; then
Expand Down
6 changes: 3 additions & 3 deletions amazoncorretto/9.4/jdk11-alpine/generate-jetty-start.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@ if [ -z "$JETTY_START" ] ; then
fi
rm -f $JETTY_START
DRY_RUN=$(/docker-entrypoint.sh "$@" --dry-run)
echo "exec $DRY_RUN" \
DRY_RUN=$(echo "$DRY_RUN" \
| egrep '[^ ]*java .*org\.eclipse\.jetty\.xml\.XmlConfiguration ' \
| sed -e 's/ -Djava.io.tmpdir=[^ ]*//g' -e 's/\\$//' \
> $JETTY_START
| sed -e 's/ -Djava.io.tmpdir=[^ ]*//g' -e 's/\\$//')
echo "exec $DRY_RUN" > $JETTY_START

# If jetty.start doesn't have content then the dry-run failed.
if ! [ -s $JETTY_START ]; then
Expand Down
6 changes: 3 additions & 3 deletions amazoncorretto/9.4/jdk11/generate-jetty-start.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@ if [ -z "$JETTY_START" ] ; then
fi
rm -f $JETTY_START
DRY_RUN=$(/docker-entrypoint.sh "$@" --dry-run)
echo "exec $DRY_RUN" \
DRY_RUN=$(echo "$DRY_RUN" \
| egrep '[^ ]*java .*org\.eclipse\.jetty\.xml\.XmlConfiguration ' \
| sed -e 's/ -Djava.io.tmpdir=[^ ]*//g' -e 's/\\$//' \
> $JETTY_START
| sed -e 's/ -Djava.io.tmpdir=[^ ]*//g' -e 's/\\$//')
echo "exec $DRY_RUN" > $JETTY_START

# If jetty.start doesn't have content then the dry-run failed.
if ! [ -s $JETTY_START ]; then
Expand Down
6 changes: 3 additions & 3 deletions amazoncorretto/9.4/jdk17-alpine/generate-jetty-start.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@ if [ -z "$JETTY_START" ] ; then
fi
rm -f $JETTY_START
DRY_RUN=$(/docker-entrypoint.sh "$@" --dry-run)
echo "exec $DRY_RUN" \
DRY_RUN=$(echo "$DRY_RUN" \
| egrep '[^ ]*java .*org\.eclipse\.jetty\.xml\.XmlConfiguration ' \
| sed -e 's/ -Djava.io.tmpdir=[^ ]*//g' -e 's/\\$//' \
> $JETTY_START
| sed -e 's/ -Djava.io.tmpdir=[^ ]*//g' -e 's/\\$//')
echo "exec $DRY_RUN" > $JETTY_START

# If jetty.start doesn't have content then the dry-run failed.
if ! [ -s $JETTY_START ]; then
Expand Down
6 changes: 3 additions & 3 deletions amazoncorretto/9.4/jdk17/generate-jetty-start.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@ if [ -z "$JETTY_START" ] ; then
fi
rm -f $JETTY_START
DRY_RUN=$(/docker-entrypoint.sh "$@" --dry-run)
echo "exec $DRY_RUN" \
DRY_RUN=$(echo "$DRY_RUN" \
| egrep '[^ ]*java .*org\.eclipse\.jetty\.xml\.XmlConfiguration ' \
| sed -e 's/ -Djava.io.tmpdir=[^ ]*//g' -e 's/\\$//' \
> $JETTY_START
| sed -e 's/ -Djava.io.tmpdir=[^ ]*//g' -e 's/\\$//')
echo "exec $DRY_RUN" > $JETTY_START

# If jetty.start doesn't have content then the dry-run failed.
if ! [ -s $JETTY_START ]; then
Expand Down
6 changes: 3 additions & 3 deletions amazoncorretto/9.4/jdk8-alpine/generate-jetty-start.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@ if [ -z "$JETTY_START" ] ; then
fi
rm -f $JETTY_START
DRY_RUN=$(/docker-entrypoint.sh "$@" --dry-run)
echo "exec $DRY_RUN" \
DRY_RUN=$(echo "$DRY_RUN" \
| egrep '[^ ]*java .*org\.eclipse\.jetty\.xml\.XmlConfiguration ' \
| sed -e 's/ -Djava.io.tmpdir=[^ ]*//g' -e 's/\\$//' \
> $JETTY_START
| sed -e 's/ -Djava.io.tmpdir=[^ ]*//g' -e 's/\\$//')
echo "exec $DRY_RUN" > $JETTY_START

# If jetty.start doesn't have content then the dry-run failed.
if ! [ -s $JETTY_START ]; then
Expand Down
6 changes: 3 additions & 3 deletions amazoncorretto/9.4/jdk8/generate-jetty-start.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@ if [ -z "$JETTY_START" ] ; then
fi
rm -f $JETTY_START
DRY_RUN=$(/docker-entrypoint.sh "$@" --dry-run)
echo "exec $DRY_RUN" \
DRY_RUN=$(echo "$DRY_RUN" \
| egrep '[^ ]*java .*org\.eclipse\.jetty\.xml\.XmlConfiguration ' \
| sed -e 's/ -Djava.io.tmpdir=[^ ]*//g' -e 's/\\$//' \
> $JETTY_START
| sed -e 's/ -Djava.io.tmpdir=[^ ]*//g' -e 's/\\$//')
echo "exec $DRY_RUN" > $JETTY_START

# If jetty.start doesn't have content then the dry-run failed.
if ! [ -s $JETTY_START ]; then
Expand Down
6 changes: 3 additions & 3 deletions azul/zulu-openjdk-alpine/10.0/jdk11/generate-jetty-start.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@ if [ -z "$JETTY_START" ] ; then
fi
rm -f $JETTY_START
DRY_RUN=$(/docker-entrypoint.sh "$@" --dry-run)
echo "exec $DRY_RUN" \
DRY_RUN=$(echo "$DRY_RUN" \
| egrep '[^ ]*java .*org\.eclipse\.jetty\.xml\.XmlConfiguration ' \
| sed -e 's/ -Djava.io.tmpdir=[^ ]*//g' -e 's/\\$//' \
> $JETTY_START
| sed -e 's/ -Djava.io.tmpdir=[^ ]*//g' -e 's/\\$//')
echo "exec $DRY_RUN" > $JETTY_START

# If jetty.start doesn't have content then the dry-run failed.
if ! [ -s $JETTY_START ]; then
Expand Down
6 changes: 3 additions & 3 deletions azul/zulu-openjdk-alpine/10.0/jdk17/generate-jetty-start.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@ if [ -z "$JETTY_START" ] ; then
fi
rm -f $JETTY_START
DRY_RUN=$(/docker-entrypoint.sh "$@" --dry-run)
echo "exec $DRY_RUN" \
DRY_RUN=$(echo "$DRY_RUN" \
| egrep '[^ ]*java .*org\.eclipse\.jetty\.xml\.XmlConfiguration ' \
| sed -e 's/ -Djava.io.tmpdir=[^ ]*//g' -e 's/\\$//' \
> $JETTY_START
| sed -e 's/ -Djava.io.tmpdir=[^ ]*//g' -e 's/\\$//')
echo "exec $DRY_RUN" > $JETTY_START

# If jetty.start doesn't have content then the dry-run failed.
if ! [ -s $JETTY_START ]; then
Expand Down
6 changes: 3 additions & 3 deletions azul/zulu-openjdk-alpine/11.0/jdk11/generate-jetty-start.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@ if [ -z "$JETTY_START" ] ; then
fi
rm -f $JETTY_START
DRY_RUN=$(/docker-entrypoint.sh "$@" --dry-run)
echo "exec $DRY_RUN" \
DRY_RUN=$(echo "$DRY_RUN" \
| egrep '[^ ]*java .*org\.eclipse\.jetty\.xml\.XmlConfiguration ' \
| sed -e 's/ -Djava.io.tmpdir=[^ ]*//g' -e 's/\\$//' \
> $JETTY_START
| sed -e 's/ -Djava.io.tmpdir=[^ ]*//g' -e 's/\\$//')
echo "exec $DRY_RUN" > $JETTY_START

# If jetty.start doesn't have content then the dry-run failed.
if ! [ -s $JETTY_START ]; then
Expand Down
6 changes: 3 additions & 3 deletions azul/zulu-openjdk-alpine/11.0/jdk17/generate-jetty-start.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@ if [ -z "$JETTY_START" ] ; then
fi
rm -f $JETTY_START
DRY_RUN=$(/docker-entrypoint.sh "$@" --dry-run)
echo "exec $DRY_RUN" \
DRY_RUN=$(echo "$DRY_RUN" \
| egrep '[^ ]*java .*org\.eclipse\.jetty\.xml\.XmlConfiguration ' \
| sed -e 's/ -Djava.io.tmpdir=[^ ]*//g' -e 's/\\$//' \
> $JETTY_START
| sed -e 's/ -Djava.io.tmpdir=[^ ]*//g' -e 's/\\$//')
echo "exec $DRY_RUN" > $JETTY_START

# If jetty.start doesn't have content then the dry-run failed.
if ! [ -s $JETTY_START ]; then
Expand Down
6 changes: 3 additions & 3 deletions azul/zulu-openjdk-alpine/12.0/jdk17/generate-jetty-start.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@ if [ -z "$JETTY_START" ] ; then
fi
rm -f $JETTY_START
DRY_RUN=$(/docker-entrypoint.sh "$@" --dry-run)
echo "exec $DRY_RUN" \
DRY_RUN=$(echo "$DRY_RUN" \
| egrep '[^ ]*java .*org\.eclipse\.jetty\.xml\.XmlConfiguration ' \
| sed -e 's/ -Djava.io.tmpdir=[^ ]*//g' -e 's/\\$//' \
> $JETTY_START
| sed -e 's/ -Djava.io.tmpdir=[^ ]*//g' -e 's/\\$//')
echo "exec $DRY_RUN" > $JETTY_START

# If jetty.start doesn't have content then the dry-run failed.
if ! [ -s $JETTY_START ]; then
Expand Down
6 changes: 3 additions & 3 deletions azul/zulu-openjdk-alpine/9.4/jdk11/generate-jetty-start.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@ if [ -z "$JETTY_START" ] ; then
fi
rm -f $JETTY_START
DRY_RUN=$(/docker-entrypoint.sh "$@" --dry-run)
echo "exec $DRY_RUN" \
DRY_RUN=$(echo "$DRY_RUN" \
| egrep '[^ ]*java .*org\.eclipse\.jetty\.xml\.XmlConfiguration ' \
| sed -e 's/ -Djava.io.tmpdir=[^ ]*//g' -e 's/\\$//' \
> $JETTY_START
| sed -e 's/ -Djava.io.tmpdir=[^ ]*//g' -e 's/\\$//')
echo "exec $DRY_RUN" > $JETTY_START

# If jetty.start doesn't have content then the dry-run failed.
if ! [ -s $JETTY_START ]; then
Expand Down
6 changes: 3 additions & 3 deletions azul/zulu-openjdk-alpine/9.4/jdk17/generate-jetty-start.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@ if [ -z "$JETTY_START" ] ; then
fi
rm -f $JETTY_START
DRY_RUN=$(/docker-entrypoint.sh "$@" --dry-run)
echo "exec $DRY_RUN" \
DRY_RUN=$(echo "$DRY_RUN" \
| egrep '[^ ]*java .*org\.eclipse\.jetty\.xml\.XmlConfiguration ' \
| sed -e 's/ -Djava.io.tmpdir=[^ ]*//g' -e 's/\\$//' \
> $JETTY_START
| sed -e 's/ -Djava.io.tmpdir=[^ ]*//g' -e 's/\\$//')
echo "exec $DRY_RUN" > $JETTY_START

# If jetty.start doesn't have content then the dry-run failed.
if ! [ -s $JETTY_START ]; then
Expand Down
6 changes: 3 additions & 3 deletions azul/zulu-openjdk-alpine/9.4/jdk8/generate-jetty-start.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@ if [ -z "$JETTY_START" ] ; then
fi
rm -f $JETTY_START
DRY_RUN=$(/docker-entrypoint.sh "$@" --dry-run)
echo "exec $DRY_RUN" \
DRY_RUN=$(echo "$DRY_RUN" \
| egrep '[^ ]*java .*org\.eclipse\.jetty\.xml\.XmlConfiguration ' \
| sed -e 's/ -Djava.io.tmpdir=[^ ]*//g' -e 's/\\$//' \
> $JETTY_START
| sed -e 's/ -Djava.io.tmpdir=[^ ]*//g' -e 's/\\$//')
echo "exec $DRY_RUN" > $JETTY_START

# If jetty.start doesn't have content then the dry-run failed.
if ! [ -s $JETTY_START ]; then
Expand Down
6 changes: 3 additions & 3 deletions azul/zulu-openjdk/10.0/jdk11/generate-jetty-start.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@ if [ -z "$JETTY_START" ] ; then
fi
rm -f $JETTY_START
DRY_RUN=$(/docker-entrypoint.sh "$@" --dry-run)
echo "exec $DRY_RUN" \
DRY_RUN=$(echo "$DRY_RUN" \
| egrep '[^ ]*java .*org\.eclipse\.jetty\.xml\.XmlConfiguration ' \
| sed -e 's/ -Djava.io.tmpdir=[^ ]*//g' -e 's/\\$//' \
> $JETTY_START
| sed -e 's/ -Djava.io.tmpdir=[^ ]*//g' -e 's/\\$//')
echo "exec $DRY_RUN" > $JETTY_START

# If jetty.start doesn't have content then the dry-run failed.
if ! [ -s $JETTY_START ]; then
Expand Down
6 changes: 3 additions & 3 deletions azul/zulu-openjdk/10.0/jdk17/generate-jetty-start.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@ if [ -z "$JETTY_START" ] ; then
fi
rm -f $JETTY_START
DRY_RUN=$(/docker-entrypoint.sh "$@" --dry-run)
echo "exec $DRY_RUN" \
DRY_RUN=$(echo "$DRY_RUN" \
| egrep '[^ ]*java .*org\.eclipse\.jetty\.xml\.XmlConfiguration ' \
| sed -e 's/ -Djava.io.tmpdir=[^ ]*//g' -e 's/\\$//' \
> $JETTY_START
| sed -e 's/ -Djava.io.tmpdir=[^ ]*//g' -e 's/\\$//')
echo "exec $DRY_RUN" > $JETTY_START

# If jetty.start doesn't have content then the dry-run failed.
if ! [ -s $JETTY_START ]; then
Expand Down
6 changes: 3 additions & 3 deletions azul/zulu-openjdk/11.0/jdk11/generate-jetty-start.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@ if [ -z "$JETTY_START" ] ; then
fi
rm -f $JETTY_START
DRY_RUN=$(/docker-entrypoint.sh "$@" --dry-run)
echo "exec $DRY_RUN" \
DRY_RUN=$(echo "$DRY_RUN" \
| egrep '[^ ]*java .*org\.eclipse\.jetty\.xml\.XmlConfiguration ' \
| sed -e 's/ -Djava.io.tmpdir=[^ ]*//g' -e 's/\\$//' \
> $JETTY_START
| sed -e 's/ -Djava.io.tmpdir=[^ ]*//g' -e 's/\\$//')
echo "exec $DRY_RUN" > $JETTY_START

# If jetty.start doesn't have content then the dry-run failed.
if ! [ -s $JETTY_START ]; then
Expand Down
6 changes: 3 additions & 3 deletions azul/zulu-openjdk/11.0/jdk17/generate-jetty-start.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@ if [ -z "$JETTY_START" ] ; then
fi
rm -f $JETTY_START
DRY_RUN=$(/docker-entrypoint.sh "$@" --dry-run)
echo "exec $DRY_RUN" \
DRY_RUN=$(echo "$DRY_RUN" \
| egrep '[^ ]*java .*org\.eclipse\.jetty\.xml\.XmlConfiguration ' \
| sed -e 's/ -Djava.io.tmpdir=[^ ]*//g' -e 's/\\$//' \
> $JETTY_START
| sed -e 's/ -Djava.io.tmpdir=[^ ]*//g' -e 's/\\$//')
echo "exec $DRY_RUN" > $JETTY_START

# If jetty.start doesn't have content then the dry-run failed.
if ! [ -s $JETTY_START ]; then
Expand Down
Loading

0 comments on commit fa377fc

Please sign in to comment.