Skip to content

Commit

Permalink
Remove drush dep. Compatible with sh
Browse files Browse the repository at this point in the history
  • Loading branch information
eiriksm committed Nov 15, 2019
1 parent 54256e5 commit 3233552
Showing 1 changed file with 1 addition and 9 deletions.
10 changes: 1 addition & 9 deletions clean-repo-check.sh
Original file line number Diff line number Diff line change
@@ -1,14 +1,6 @@
set -e

wdir="$PWD"; [ "$PWD" = "/" ] && wdir=""
case "$0" in
/*) scriptdir="${0}";;
*) scriptdir="$wdir/${0#./}";;
esac
scriptdir="${scriptdir%/*}"

$scriptdir/../../../vendor/bin/drush cex -y
if [[ $(git status -s | wc -c) -ne 0 ]]; then
if [ $(git status -s | wc -c) -ne 0 ]; then
echo "Working tree is not clean:"
git status
exit 1
Expand Down

0 comments on commit 3233552

Please sign in to comment.