#!/usr/bin/env bash # Download FreeDOS "Debug" (MIT licence, a DEBUG.EXE-compatible debugger) into ../build/. # It is NOT committed to the repository. set -euo pipefail cd "$(dirname "$0")/.." mkdir -p build if [ ! -f build/DEBUG.COM ]; then curl -fsSL -o build/debug.zip https://www.ibiblio.org/pub/micro/pc-stuff/freedos/files/repositories/1.3/base/debug.zip unzip -o -q -j build/debug.zip BIN/DEBUG.COM APPINFO/DEBUG.LSM -d build fi grep -E '^(Title|Version|Entered-date|Copying-policy):' build/DEBUG.LSM || true