all repos — tint2 @ cfc43685a4a0511098dca132d42b44d099bd50c8

fork of the tint2 desktop panel for my custom setup - only minimized windows across all desktops for the taskbar

ChangeLog is in the same directory of get_version.sh, get it from there
o9000 mrovi9000@gmail.com
commit

cfc43685a4a0511098dca132d42b44d099bd50c8

parent

d05d5f594b0c20d7585efb608dcb575104e96f6a

1 files changed, 3 insertions(+), 2 deletions(-)

jump to
M get_version.shget_version.sh

@@ -33,10 +33,11 @@ fi

fi VERSION=$(git describe --exact-match 2>/dev/null || echo "$MAJOR-git$(git show -s --pretty=format:%ci | cut -d ' ' -f 1 | tr -d '-').$(git show -s --pretty=format:%h)")$DIRTY else - VERSION=$( (head -n 1 ${2}ChangeLog || head -n 1 ../ChangeLog) | cut -d ' ' -f 2) + SCRIPT_DIR=$(dirname "$0") + VERSION=$(head -n 1 "${SCRIPT_DIR}/ChangeLog" | cut -d ' ' -f 2) if [ "$VERSION" = "master" ] then - VERSION=$VERSION-$( (head -n 1 ${2}ChangeLog || head -n 1 ../ChangeLog) | cut -d ' ' -f 1) + VERSION=$VERSION-$(head -n 1 "${SCRIPT_DIR}/ChangeLog" | cut -d ' ' -f 1) fi fi