#!/usr/bin/sh
# Environment wrapper for GCC Toolset 15

. /usr/lib/gcc-toolset/15-env.source

if [ -z "$1" ]; then
  exec /usr/bin/sh
# Compatibility with `scl enable`, where the entire command shows up as a
# single argument.
elif [ -z "$2" ]; then
  exec sh -c "$@"
else
  exec "$@"
fi
