diff --git a/vendor/runtime-fixer b/vendor/runtime-fixer
index 4ee1e41981b8cba01b57cc5b64ffe8c9f55b8202..0162518eb1dfd223dca475cdc4b7ed6eca7c2698 100755
--- a/vendor/runtime-fixer
+++ b/vendor/runtime-fixer
@@ -4,7 +4,7 @@ import sys
 
 runtime_file = sys.argv[1]
 
-with open(req_file, 'r') as f:
+with open(runtime_file, 'r') as f:
     r = f.read().strip()
 
 with open(runtime_file, 'w') as f: