fedostree: Fix -loop to look in the correct place

This commit is contained in:
Colin Walters 2013-12-23 15:19:27 -05:00
parent 4a6d33a1d8
commit 8ec114459d

View File

@ -3,7 +3,7 @@ while true; do
path=logs/$(date +%Y/%m/%d/%H)
mkdir -p ${path}
echo "Starting run, logging to ${path}"
./fedostree-make-trees > ${path}/log.txt 2>&1
$(dirname $0)/fedostree-make-trees > ${path}/log.txt 2>&1
echo "Complete, sleep 1h"
sleep 1h
done