summaryrefslogtreecommitdiff
path: root/ruby.c
diff options
context:
space:
mode:
Diffstat (limited to 'ruby.c')
-rw-r--r--ruby.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ruby.c b/ruby.c
index bb3741d..12aa708 100644
--- a/ruby.c
+++ b/ruby.c
@@ -655,6 +655,7 @@ load_file(fname, script)
while (p < pend && ISSPACE(*p))
p++;
path = p; /* interpreter path */
+#ifndef USE_CWGUSI
while (p < pend && !ISSPACE(*p))
p++;
*p++ = '\0';
@@ -667,7 +668,6 @@ load_file(fname, script)
argv = origargv;
}
argv[0] = path;
-#ifndef USE_CWGUSI
execv(path, argv);
#endif
ruby_sourcefile = fname;