summaryrefslogtreecommitdiffstats
path: root/media/webrtc/trunk/tools/gyp/test/variables/commands/repeated_multidir/print_cwd_basename.py
diff options
context:
space:
mode:
Diffstat (limited to 'media/webrtc/trunk/tools/gyp/test/variables/commands/repeated_multidir/print_cwd_basename.py')
-rwxr-xr-xmedia/webrtc/trunk/tools/gyp/test/variables/commands/repeated_multidir/print_cwd_basename.py10
1 files changed, 10 insertions, 0 deletions
diff --git a/media/webrtc/trunk/tools/gyp/test/variables/commands/repeated_multidir/print_cwd_basename.py b/media/webrtc/trunk/tools/gyp/test/variables/commands/repeated_multidir/print_cwd_basename.py
new file mode 100755
index 000000000..ace9ed6b8
--- /dev/null
+++ b/media/webrtc/trunk/tools/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())