diff --git a/core/posix/genres.sh b/core/posix/genres.sh index 34a551118..fe9ff8d1d 100644 --- a/core/posix/genres.sh +++ b/core/posix/genres.sh @@ -2,7 +2,7 @@ RESFILE="$1" -egrep -v "^(#|/|.$)" $RESFILE | cut -d ' ' -f 1 | ( +egrep -v "^(#|/|$)" $RESFILE | cut -d ' ' -f 1 | ( echo "#define static" >&4 echo "#ifndef _RES_H" >&5