* gettext-tools/examples/hello-csharp/autoclean.sh: Handle shell wildcard
correctly.
* gettext-tools/examples/hello-csharp-forms/autoclean.sh: Likewise.
rm -f po/*.pot
rm -f po/stamp-po
for f in po/*/*.resources.dll; do
- rm -f $f
- rmdir `echo $f | sed -e 's,/[^/]*$,,'`
+ if test -f "$f"; then
+ rm -f "$f"
+ rmdir `echo $f | sed -e 's,/[^/]*$,,'`
+ fi
done
rm -f po/*.pot
rm -f po/stamp-po
for f in po/*/*.resources.dll; do
- rm -f $f
- rmdir `echo $f | sed -e 's,/[^/]*$,,'`
+ if test -f "$f"; then
+ rm -f "$f"
+ rmdir `echo $f | sed -e 's,/[^/]*$,,'`
+ fi
done