#!/bin/sh # List the taxiway GeoJSON exports currently present in the osm-maps dir. # Broker rule: `taxiways-list` (no args). Output: one "-taxiways.geojson" # per line (empty if none yet). # # OSM_DIR is hardcoded to the mount point below: sshd does NOT propagate the # container's environment into a ForceCommand session, so we can't read it from # `environment:` — mount the osm-maps dir at exactly this path. set -eu OSM_DIR=/osm-maps cd "$OSM_DIR" 2>/dev/null || { echo "osm-maps dir not mounted at $OSM_DIR" >&2; exit 4; } ls -1 *-taxiways.geojson 2>/dev/null || true