Skip to content

Commit

Permalink
chore(clevyr-build): Simplify xdebug stable logic
Browse files Browse the repository at this point in the history
  • Loading branch information
gabe565 committed Feb 21, 2024
1 parent 4a4ef75 commit 992ab45
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ ONBUILD ARG IPE_GD_WITHOUTAVIF=1

ONBUILD RUN <<EOT
set -eux
if [ "$SKIP_BUILD" != "true" ]; then
if [ "${SKIP_BUILD:-}" != "true" ]; then
clevyr-build
fi
EOT
5 changes: 2 additions & 3 deletions rootfs/usr/bin/clevyr-build
Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,9 @@ if [ "$INSTALL_SQLSRV" = "true" ]; then
fi

# Add workaround for xdebug alpha release
if [ "$INSTALL_XDEBUG" == "true" ]
then
if [ "$INSTALL_XDEBUG" == "true" ]; then
unset INSTALL_XDEBUG
export INSTALL_XDEBUG_STABLE=true
export INSTALL="$INSTALL xdebug-stable"
fi

# Add old dependency args to new variable
Expand Down

0 comments on commit 992ab45

Please sign in to comment.