Skip to content

Commit

Permalink
add compatability for sh instead of bash
Browse files Browse the repository at this point in the history
  • Loading branch information
ll7 committed Jun 4, 2024
1 parent dd4c9fd commit 6e6597a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .devcontainer/postCreate.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ pip install -e . || { echo "Failed to install the current directory as a package
pip install -e ./fast-pysf || { echo "Failed to install ./fast-pysf as a package"; exit 1; }

# Set the display environment variable for GUI applications based on the host OS
if [[ $HOST_OS == *"Windows"* ]]; then
if [ $HOST_OS == *"Windows"* ]; then
# We are in Windows
echo "export DISPLAY=host.docker.internal:0.0" >> ~/.bashrc || { echo "Failed to set DISPLAY environment variable for Windows"; exit 1; }
else
Expand Down

0 comments on commit 6e6597a

Please sign in to comment.