Fix non-functioning profile script call in bash

This commit is contained in:
Manuel Thalmann 2024-03-25 19:19:27 +01:00
parent 694fac8edb
commit 72c29f3539

View file

@ -7,7 +7,11 @@ env:
path: [] path: []
script: script:
- value: | - value: |
[ -n "$(bash -c 'shopt -s nullglob; echo {/etc,~/.config}/bash/conf.d/*')" ] && . {/etc,~/.config}/bash/conf.d/* || true find {/etc,~/.config}/bash/conf.d/* 2> /dev/null |
while IFS= read -r -d '' file;
do
. "$file";
done;
if: match .Shell "bash" if: match .Shell "bash"
- value: | - value: |
# Profile Files # Profile Files