Fix broken prefix-date step in running hpodder

main
Buddy Sandidge 11 years ago
parent 315bf7b0ae
commit c85b6df990

@ -6,7 +6,7 @@ lockfile="$logdir/lock.log"
dir=`dirname $0`
if [[ ! -d $logdir ]]; then
echo "Log directory doesn't exist, create it '$lockfile'"
echo "Log directory doesn't exist, create it '$logdir'"
mkdir -p $logdir
chmod 777 $logdir
fi
@ -18,6 +18,9 @@ fi
touch $lockfile
hpodder fetch >> $logfile
$dir/prefix-date ~/podcasts/ >> $logfile
cd ~/podcasts
for dir in $(find . -maxdepth 1 -mindepth 1 -type d); do
prefix-date $dir
done
cd -
rm $lockfile

Loading…
Cancel
Save