summaryrefslogtreecommitdiff
path: root/deps/gyp/test/variables/commands/repeated_multidir/print_cwd_basename.py
diff options
context:
space:
mode:
Diffstat (limited to 'deps/gyp/test/variables/commands/repeated_multidir/print_cwd_basename.py')
-rwxr-xr-xdeps/gyp/test/variables/commands/repeated_multidir/print_cwd_basename.py10
1 files changed, 10 insertions, 0 deletions
diff --git a/deps/gyp/test/variables/commands/repeated_multidir/print_cwd_basename.py b/deps/gyp/test/variables/commands/repeated_multidir/print_cwd_basename.py
new file mode 100755
index 0000000000..ace9ed6b80
--- /dev/null
+++ b/deps/gyp/test/variables/commands/repeated_multidir/print_cwd_basename.py
@@ -0,0 +1,10 @@
+#!/usr/bin/env python
+
+# Copyright 2014 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.
+
+import os
+import os.path
+
+print os.path.basename(os.getcwd())