Files
fuzic/src/sh/awk.sh
2025-09-11 15:57:06 +02:00

34 lines
577 B
Bash

# The code below is used together with `scripts/build.sh`to internalize the awk
# scripts. See the awk sources for more information.
if [ ! "${AWK_LOADED:-}" ]; then
AWK_ARTISTS=$(
cat <<'EOF'
@@include awk/artists.awk
EOF
)
export AWK_ARTISTS
AWK_RELEASES=$(
cat <<'EOF'
@@include awk/releases.awk
EOF
)
export AWK_RELEASES
AWK_RELEASEGROUPS=$(
cat <<'EOF'
@@include awk/releasegroups.awk
EOF
)
export AWK_RELEASEGROUPS
AWK_RECORDINGS=$(
cat <<'EOF'
@@include awk/recordings.awk
EOF
)
export AWK_RECORDINGS
export AWK_LOADED=1
fi