for p in %fedora-source-packages; do
p_specfile=%fedora-dir/$p/%fedora-branch/$p.spec
p_depcache=%fedora-dir/$p/%fedora-branch/.depcache
- if ! test -f $p_depcache || test $p_specfile -nt $p_depcache; then
+ if ! test -f "$p_depcache" || test "$p_specfile" -nt "$p_depcache";
+ then
rm -f $p_depcache
for b in $(rpmspec -q --provides $p_specfile 2>/dev/null | awk '{print $1}'); do
echo "bin2src['$b']='$p'" >> $p_depcache