diff --git a/doc.zih.tu-dresden.de/util/check-spelling.sh b/doc.zih.tu-dresden.de/util/check-spelling.sh
index 327b29ec1a80d1a361b8be4bdde2e1a93bf0e981..2c5e4fd7fa80fa12cc213cc506e721194758bd84 100755
--- a/doc.zih.tu-dresden.de/util/check-spelling.sh
+++ b/doc.zih.tu-dresden.de/util/check-spelling.sh
@@ -34,7 +34,7 @@ if [ $# -eq 1 ]; then
   ;;
   esac
 elif [ $# -eq 0 ]; then
-  for i in `find -name \*.md`; do
+  for i in `find $basedir/docs -name \*.md`; do
   spell_check $i
   done
 else