summaryrefslogtreecommitdiff
path: root/bin/bundle
diff options
context:
space:
mode:
Diffstat (limited to 'bin/bundle')
-rwxr-xr-xbin/bundle2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/bundle b/bin/bundle
index 22995af..3cb2676 100755
--- a/bin/bundle
+++ b/bin/bundle
@@ -14,7 +14,7 @@ m = Module.new do
module_function
def invoked_as_script?
- File.expand_path($0) == File.expand_path(__FILE__)
+ File.expand_path($PROGRAM_NAME) == File.expand_path(__FILE__)
end
def env_var_version