#!/bin/sh
# A simple utility that waits for a file to become available, infinitely

LD_INTERNAL=1
. $(dirname $(realpath $0))/daisy.source

file=$@
while [ ! -f "$file" ]
do
  sleep 0.1
done
echo $file
