diff options
Diffstat (limited to 'Meta/build-root-filesystem.sh')
-rwxr-xr-x | Meta/build-root-filesystem.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Meta/build-root-filesystem.sh b/Meta/build-root-filesystem.sh index fc3280cce4..08252e0136 100755 --- a/Meta/build-root-filesystem.sh +++ b/Meta/build-root-filesystem.sh @@ -85,7 +85,7 @@ mkdir -p mnt/dev echo "done" printf "writing version file... " -GIT_HASH=$( (git log --pretty=format:'%h' -n 1 | head -c 7) || true ) +GIT_HASH=$( (git log --pretty=format:'%h' -n 1 | cut -c1-7) || true ) printf "[Version]\nMajor=1\nMinor=0\nGit=%s\n" "$GIT_HASH" > mnt/res/version.ini echo "done" |