forked from ome/openmicroscopy
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Teach build.py to handle relative paths
Previously it was always necessary to be in the top-level directory for build.py to work properly. Now, if os.chdir is always performed to the top-level, and if a build.xml file is present in the current working dir (before os.chdir) then it will be passed to ant as "-f `pwd`/build.xml"" This allows: ../../../build.py test and similar from OmeroPy etc.
- Loading branch information
Showing
1 changed file
with
42 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters