summaryrefslogtreecommitdiff
path: root/source4/script
diff options
context:
space:
mode:
Diffstat (limited to 'source4/script')
-rwxr-xr-xsource4/script/cflags.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/script/cflags.sh b/source4/script/cflags.sh
index b2ee8b3761..dc7bd794c6 100755
--- a/source4/script/cflags.sh
+++ b/source4/script/cflags.sh
@@ -11,7 +11,7 @@ check_flags()
NAME=$1
(
while read tag flags; do
- if [ "$tag" = "$NAME" ]; then
+ if [ "$tag" = "$NAME" ] || [ "./$tag" = "$NAME" ]; then
echo "$flags"
exit 0;
fi