diff --git a/travis/scripts/patch_sources.sh b/travis/scripts/patch_sources.sh index 0cf5e3e03..3d076295c 100755 --- a/travis/scripts/patch_sources.sh +++ b/travis/scripts/patch_sources.sh @@ -1,8 +1,8 @@ #!/bin/bash if [ "$TRAVIS_PULL_REQUEST" != "false" ]; then - patch --dry-run -d twidere < twidere/patches/remove_closed_source_dependencies.patch -else echo "Apply real patch for pull request" patch -d twidere < twidere/patches/remove_closed_source_dependencies.patch +else + patch --dry-run -d twidere < twidere/patches/remove_closed_source_dependencies.patch fi