Skip to content

Commit

Permalink
Move vampire_maplabel script to bin directory
Browse files Browse the repository at this point in the history
  • Loading branch information
AntumDeluge committed Jun 5, 2024
1 parent 9f854e7 commit a08d9ae
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion data/maps/vampire_maplabel.py → bin/vampire_maplabel.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
# directory from where script was executed
dir_start = os.getcwd()
# path to root directory
os.chdir(os.path.join(os.path.dirname(__file__), '../../'))
os.chdir(os.path.join(os.path.dirname(__file__), '../'))
dir_root = os.getcwd()
# directory relative to root where images are located
subdir_world = os.path.normpath('data/maps/world')
Expand Down
2 changes: 1 addition & 1 deletion buildtools/ant_modules/maps.xml
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@
<!-- FIXME: need to detect the Python "PIL" module to ensure script can run or
write Java class that can do this -->
<exec executable="${executable.python}" if:true="${python.present}">
<arg value="./data/maps/vampire_maplabel.py"/>
<arg value="./bin/vampire_maplabel.py"/>
<arg value="-world"/>
</exec>

Expand Down

0 comments on commit a08d9ae

Please sign in to comment.