fixed wrong patch condition

This commit is contained in:
Mariotaku 2017-04-26 02:20:47 +08:00 committed by GitHub
parent 7136c5976e
commit 3bd9c61da8
1 changed files with 2 additions and 2 deletions

View File

@ -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