Skip to content

Commit

Permalink
ensure bins are marked as executable (mangoszero#108)
Browse files Browse the repository at this point in the history
  • Loading branch information
kmmiles authored Jul 30, 2020
1 parent 80c20b4 commit dd99e2d
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/tools/Extractor_Binaries/ExtractResources.sh
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,14 @@ else
fi
fi

# Ensure bins are marked executable
for bin in ./map-extractor ./mmap-extractor ./vmap-extractor; do
if [ -f "$bin" ]; then
echo "Marking $bin executable"
chmod +x "$bin"
fi
done

## Special case: Only reextract offmesh tiles
if [ "$USE_MMAPS_OFFMESH" = "1" ]
then
Expand Down

0 comments on commit dd99e2d

Please sign in to comment.