Skip to content

Commit

Permalink
fix: invalid
Browse files Browse the repository at this point in the history
  • Loading branch information
pablocorbalann committed Jan 27, 2021
1 parent e4ffd91 commit 3a80c55
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .scripts/push.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,12 @@
#
# To run this script use:
# sh push.sh <commit-flag> <commit-msg>
if ![ -x "$(command -v git)"]
then
echo "ERROR: git is not installed..."
#
if ! [ -x "$(command -v git)" ]; then
echo 'Error: git is not installed.' >&2
exit 1
fi
fi

git pull
rm -rf client/trojan/*.o
git add .
Expand Down

0 comments on commit 3a80c55

Please sign in to comment.