mirror of
https://github.com/wxWidgets/Phoenix.git
synced 2026-01-07 04:20:07 +01:00
Better test for interactive mode
This commit is contained in:
@@ -93,7 +93,7 @@ for pyver in $PYTHONS; do
|
||||
do_build $pyver
|
||||
done
|
||||
|
||||
if [ -n $INTERACTIVE ]; then
|
||||
if [ "$INTERACTIVE" == "yes" ]; then
|
||||
exec /bin/bash -i
|
||||
fi
|
||||
|
||||
|
||||
@@ -60,6 +60,6 @@ def build(ctx, pythons='', keep=False, interactive=False, arch='x86_64'):
|
||||
pythons = pythons.split(',')
|
||||
pythons = ' '.join(pythons)
|
||||
cmd = f'/scripts/do-build.sh {version} {pythons}'
|
||||
extra = '-e INTERACTIVE=1' if interactive else ''
|
||||
extra = '-e INTERACTIVE=yes' if interactive else ''
|
||||
run(ctx, cmd, keep, extra, arch)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user