summaryrefslogtreecommitdiffstats
path: root/build/dir_exists.py
blob: d1c194f545b7cd16f521af18779f8d86117905ac (plain)
1
2
3
4
5
6
7
8
9
10
#!/usr/bin/env python
# Copyright (c) 2009 The Chromium Authors. 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.path
import sys

sys.stdout.write(str(os.path.isdir(sys.argv[1])))
sys.exit(0)