diff --git a/entrypoint.sh b/entrypoint.sh index eed9229..61b4396 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -37,7 +37,7 @@ until [ -S "/tmp/.X11-unix/X${DISPLAY/:/}" ]; do sleep 1; done echo "X socket is ready" # Resize the screen to the provided size -bash -c "source /opt/gstreamer/gst-env && /usr/local/bin/selkies-gstreamer-resize ${SIZEW}x${SIZEH}" +bash -c ". /opt/gstreamer/gst-env && /usr/local/bin/selkies-gstreamer-resize ${SIZEW}x${SIZEH}" # Run the x11vnc + noVNC fallback web interface if enabled if [ "${NOVNC_ENABLE,,}" = "true" ]; then diff --git a/selkies-gstreamer-entrypoint.sh b/selkies-gstreamer-entrypoint.sh index 7d5e772..1b306b9 100755 --- a/selkies-gstreamer-entrypoint.sh +++ b/selkies-gstreamer-entrypoint.sh @@ -5,7 +5,7 @@ # file, You can obtain one at https://mozilla.org/MPL/2.0/. # Source environment for GStreamer -source /opt/gstreamer/gst-env +. /opt/gstreamer/gst-env # Set default display export DISPLAY="${DISPLAY:-:0}"