Add Linux support

This commit is contained in:
Gleb Mazovetskiy
2018-10-21 14:25:58 +01:00
parent c72412a5fc
commit 670ec172d6
3 changed files with 36 additions and 23 deletions

View File

@ -53,12 +53,12 @@ readlink_f()
fi
}
thisdir=$(dirname $(readlink_f "$0"))
thisdir="$(dirname $(readlink_f "$0"))"
e_flag=''
if [ -z "${GIT_DIFF_IMAGE_ENABLED-}" ] || \
! which -s compare || \
! which -s montage
! which compare > /dev/null || \
! which montage > /dev/null
then
e_flag='-e'
fi