summaryrefslogtreecommitdiff
path: root/scripts/changed-feature-flags
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/changed-feature-flags')
-rwxr-xr-xscripts/changed-feature-flags2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/changed-feature-flags b/scripts/changed-feature-flags
index ded6156bfa8..8c1b219e5a6 100755
--- a/scripts/changed-feature-flags
+++ b/scripts/changed-feature-flags
@@ -90,7 +90,7 @@ class GetFeatureFlagsFromFiles
end
end
-if $0 == __FILE__
+if $PROGRAM_NAME == __FILE__
options = API::DEFAULT_OPTIONS.dup
OptionParser.new do |opts|