First draft of a test-suite.
[paraslash.git] / depend.sh
index aad45a3..60d4eba 100755 (executable)
--- a/depend.sh
+++ b/depend.sh
@@ -19,4 +19,4 @@ shift
 
 LC_ALL=C gcc -MM -MG "$@" \
        | sed -e "s@^\(.*\)\.o:@$object_dir/\1.d $object_dir/\1.o:@" \
-       -e "s@[         ^]\([a-zA-Z0-9_]\+\.cmdline.h\)@ $cmdline_dir/\1@g"
+       -e "s@[         ^]\([a-zA-Z0-9_]\{1,\}\.cmdline.h\)@ $cmdline_dir/\1@g"