test
This commit is contained in:
@@ -31,7 +31,9 @@ runs:
|
|||||||
# Find all skins and create JSON, write to shared file
|
# Find all skins and create JSON, write to shared file
|
||||||
all_skins_file="/tmp/all_skins_shared.json"
|
all_skins_file="/tmp/all_skins_shared.json"
|
||||||
find "$SKINS_DIR" -mindepth 1 -maxdepth 1 -type d -print0 \
|
find "$SKINS_DIR" -mindepth 1 -maxdepth 1 -type d -print0 \
|
||||||
| xargs -0 -n1 basename \
|
| while IFS= read -r -d '' dir; do
|
||||||
|
basename "$dir"
|
||||||
|
done \
|
||||||
| jq -R . | jq -cs . > "$all_skins_file"
|
| jq -R . | jq -cs . > "$all_skins_file"
|
||||||
|
|
||||||
json=$(cat "$all_skins_file")
|
json=$(cat "$all_skins_file")
|
||||||
|
|||||||
Reference in New Issue
Block a user