2017-04-25 19:40:56 +02:00
|
|
|
#!/bin/bash
|
|
|
|
|
|
|
|
if [ "$TRAVIS_PULL_REQUEST" != "false" ]; then
|
2017-04-25 20:12:12 +02:00
|
|
|
echo "Apply real patch for pull request"
|
|
|
|
patch -d twidere < twidere/patches/remove_closed_source_dependencies.patch
|
2017-04-25 20:20:47 +02:00
|
|
|
else
|
|
|
|
patch --dry-run -d twidere < twidere/patches/remove_closed_source_dependencies.patch
|
2017-04-25 20:12:12 +02:00
|
|
|
fi
|