git-svn-id: https://svn.osgeo.org/grass/grass/trunk@31306 15284696-431f-4ddb-bdfa-cd5b030d7da7
@@ -185,7 +185,7 @@ fi
#dump cats to file to avoid "too many argument" problem:
-r.cats "${VECTOR}_${TMPNAME}" fs=';' --quiet | cut -d';' -f1 > "$TMP.cats"
+r.category "${VECTOR}_${TMPNAME}" fs=';' --quiet | cut -d';' -f1 > "$TMP.cats"
#echo "List of categories found: $CATSLIST"
NUMBER=`cat "$TMP.cats" | wc -l | awk '{print $1}'`
if [ $NUMBER -lt 1 ] ; then