1
0
Fork 0
mirror of https://github.com/transmission/transmission synced 2024-12-22 15:54:57 +00:00

Use head instead of bash extension to get revision substring

This commit is contained in:
Mike Gelfand 2018-01-23 22:14:01 +03:00
parent 7f008edab6
commit 3c5870d4f5

View file

@ -42,7 +42,7 @@ else
rm -f "$vcs_revision_file" rm -f "$vcs_revision_file"
fi fi
vcs_revision=${vcs_revision:0:10} vcs_revision=`echo ${vcs_revision} | head -c10`
cat > libtransmission/version.h.new << EOF cat > libtransmission/version.h.new << EOF
#pragma once #pragma once