File:  [ELWIX - Embedded LightWeight unIX -] / gpl / axl / check-python-dir.py
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs - revision graph
Fri Feb 17 12:50:02 2012 UTC (12 years, 8 months ago) by misho
Branches: axl, MAIN
CVS tags: HEAD, AXL0_6_7
version 0.6.7

#!/usr/bin/python

import sys

directory_to_check = sys.argv[1]
for directory in sys.argv:
    if directory_to_check == directory:
        print "ok"
        sys.exit (0)


print "Unable to find directory %s into sys.path, this install directory will fail" % directory_to_check
sys.exit(0)





FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>