Annotation of gpl/axl/check-python-dir.py, revision 1.1

1.1     ! misho       1: #!/usr/bin/python
        !             2: 
        !             3: import sys
        !             4: 
        !             5: directory_to_check = sys.argv[1]
        !             6: for directory in sys.argv:
        !             7:     if directory_to_check == directory:
        !             8:         print "ok"
        !             9:         sys.exit (0)
        !            10: 
        !            11: 
        !            12: print "Unable to find directory %s into sys.path, this install directory will fail" % directory_to_check
        !            13: sys.exit(0)
        !            14: 
        !            15: 
        !            16: 
        !            17: 

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