lackadaisical/filewait
Sam Hardeman 0912f2d3d4 - Many fixes to sourcing, now will always resolve to base dir.
- All scripts are again `sh` compatible.
- Binbox overhaul, symlinks finally work just like `busybox`.
- Error checking to some files like `sw` and `own`.
TODO: Make it pretty and make `short` already.
2025-09-22 08:34:50 +02:00

12 lines
204 B
Bash
Executable file

#!/bin/sh
# A simple utility that waits for a file to become available, infinitely
DAISY_INTERNAL=1
. $(dirname $(realpath $0))/daisy.source
FILE=$@
while [ ! -f "$FILE" ]
do
sleep 0.1
done
echo $FILE