1
mirror of https://invent.kde.org/network/falkon.git synced 2024-11-11 09:32:12 +01:00
falkonOfficial/scripts/getrevision.sh
nowrep bed30cb483 Showing revision number in About dialog.
- it will be only shown when compiling with git_revision file
  in root directory (where QupZilla.pro is).

  This file should contain commit hash.
2011-12-16 14:46:31 +01:00

10 lines
160 B
Bash

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