summaryrefslogtreecommitdiff
path: root/Externals/MoltenVK/patch.sh
blob: 2a40d7eda959bb1ada1d57379fdf91ba9a4db0f3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/bin/bash

# Applies all patches in the "patches" folder to the cloned MoltenVK git repository.
#
# Usage: patch.sh <patches folder> <MoltenVK version>
#

set -e

# Reset the git repository first to ensure that it's in the base state.
git reset --hard $2

git apply $1/*.patch