diff --git a/handle_deps b/handle_deps index b308d13f5..3c6f3c798 100755 --- a/handle_deps +++ b/handle_deps @@ -3,7 +3,7 @@ obj="$1" exitcode="$2" -dep="`echo "$obj" | sed -e 's:\.\(o\|gch\)$:.d:'`" +dep="`echo "$obj" | sed -E -e 's:\.(o|gch)$:.d:'`" test -f "$dep" || exit $exitcode test -f .deps && rm -f .deps