Merge pull request #460 from Googulator/after-extend

Add extension mechanism to execute .sh files dropped in /steps/after
This commit is contained in:
Googulator 2024-04-17 00:49:53 +02:00 committed by GitHub
commit 27b4f1c766
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 4 additions and 0 deletions

View File

@ -9,6 +9,10 @@
. /steps/bootstrap.cfg
. /steps/env
if [ -d /steps/after ]; then
find /steps/after -maxdepth 1 -name '*.sh' -exec bash {} \;
fi
if [ "${INTERACTIVE}" = True ]; then
env - PATH=${PREFIX}/bin PS1="\w # " setsid openvt -fec1 -- bash -i
fi