From 3bd9c61da84c304de3f856506c1ce2e488b08e08 Mon Sep 17 00:00:00 2001 From: Mariotaku Date: Wed, 26 Apr 2017 02:20:47 +0800 Subject: [PATCH] fixed wrong patch condition --- travis/scripts/patch_sources.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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