summaryrefslogtreecommitdiff
path: root/deps/gyp/test/rules-dirname/src/subdir/printvars.py
diff options
context:
space:
mode:
Diffstat (limited to 'deps/gyp/test/rules-dirname/src/subdir/printvars.py')
-rwxr-xr-xdeps/gyp/test/rules-dirname/src/subdir/printvars.py14
1 files changed, 14 insertions, 0 deletions
diff --git a/deps/gyp/test/rules-dirname/src/subdir/printvars.py b/deps/gyp/test/rules-dirname/src/subdir/printvars.py
new file mode 100755
index 0000000000..ef3d92e8cf
--- /dev/null
+++ b/deps/gyp/test/rules-dirname/src/subdir/printvars.py
@@ -0,0 +1,14 @@
+#!/usr/bin/env python
+
+# Copyright (c) 2011 Google Inc. All rights reserved.
+# Use of this source code is governed by a BSD-style license that can be
+# found in the LICENSE file.
+
+"""
+Prints interesting vars
+"""
+
+import sys;
+
+out = open(sys.argv[2], 'w')
+out.write(sys.argv[1]);