patch.sh 279 B

1234567891011121314
  1. #!/bin/bash
  2. # Applies all patches in the "patches" folder to the cloned MoltenVK git repository.
  3. #
  4. # Usage: patch.sh <patches folder> <MoltenVK version>
  5. #
  6. set -e
  7. # Reset the git repository first to ensure that it's in the base state.
  8. git reset --hard $2
  9. git apply $1/*.patch