aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xbuild/c/gnu/dep10
-rwxr-xr-xbuild/c/intel/dep10
2 files changed, 10 insertions, 10 deletions
diff --git a/build/c/gnu/dep b/build/c/gnu/dep
index e0c0544..1286ce2 100755
--- a/build/c/gnu/dep
+++ b/build/c/gnu/dep
@@ -48,11 +48,11 @@ if [ "$files" ]; then
fi
# The last part of the script translates all file names that don't start
-# with / (that is, local generated files) to files in $out_base. Note that
-# it is assumed that such files are never installed and therefore there is
-# no way get around the situation where this file is picket up from some
-# other place (e.g., /usr/include).
+# with / or . (that is, local generated files) to files in $out_base. Note
+# that it is assumed that such files are never installed and therefore there
+# is no way to get around the situation where this file is picket up from
+# some other place (e.g., /usr/include).
#
-epilogue="s% \([^/ \\\\]\)% $out_base/\1%g;s%^\([^/ ].*:\)%$out_base/\1%"
+epilogue="s% \([^/. \\\\]\)% $out_base/\1%g;s%^\([^/. ].*:\)%$out_base/\1%"
exec sed -e "$script$epilogue"
diff --git a/build/c/intel/dep b/build/c/intel/dep
index 3a09302..70f3b79 100755
--- a/build/c/intel/dep
+++ b/build/c/intel/dep
@@ -48,11 +48,11 @@ if [ "$files" ]; then
fi
# The last part of the script translates all file names that don't start
-# with / (that is, local generated files) to files in $out_base. Note that
-# it is assumed that such files are never installed and therefore there is
-# no way get around the situation where this file is picket up from some
-# other place (e.g., /usr/include).
+# with / or . (that is, local generated files) to files in $out_base. Note
+# that it is assumed that such files are never installed and therefore there
+# is no way to get around the situation where this file is picket up from
+# some other place (e.g., /usr/include).
#
-epilogue="s% \([^/ \\\\]\)% $out_base/\1%g;s%^\([^/ ].*:\)%$out_base/\1%"
+epilogue="s% \([^/. \\\\]\)% $out_base/\1%g;s%^\([^/. ].*:\)%$out_base/\1%"
exec sed -e "$script$epilogue"