fix: Export get_json_array bash function

This commit is contained in:
Gerald Pinder 2024-11-25 22:18:21 -05:00
parent c8d8ab306c
commit f2a4123e0b
2 changed files with 5 additions and 0 deletions

View file

@ -8,3 +8,7 @@ set -oue pipefail
# Your code goes here.
echo 'This is an example shell script'
echo 'Scripts here will run during build if specified in recipe.yml'
get_json_arr FILES '.test' '{"test":[1,2,3]}'
echo $FILES

View file

@ -68,5 +68,6 @@ export OS_ARCH=$(uname -m)
# Export functions for use in sub-shells or sourced scripts
export -f get_yaml_array
export -f get_json_array
mkdir -p /var/roothome /var/opt /var/lib/alternatives /var/opt /var/usrlocal