1
mirror of https://invent.kde.org/network/falkon.git synced 2024-09-21 17:52:10 +02:00
falkonOfficial/scripts/getrevision.sh
nowrep 786d6f4029 Edited building system to support linking plugins.
- however plugins has to be statically linked
2012-02-18 14:47:38 +01:00

11 lines
273 B
Bash

#!/bin/bash
#git show-ref refs/heads/master | cut -d " " -f 1 | cut -c 1-10
if [ -e "/usr/bin/git" ] && [ -e ".git" ]; then
git show-ref refs/heads/master | cut -d " " -f 1 | cut -c 1-10;
elif [ -e "git_revision" ]; then
cat git_revision | cut -c 1-10;
fi
exit;