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:
parent
7f008edab6
commit
3c5870d4f5
1 changed files with 1 additions and 1 deletions
|
@ -42,7 +42,7 @@ else
|
|||
rm -f "$vcs_revision_file"
|
||||
fi
|
||||
|
||||
vcs_revision=${vcs_revision:0:10}
|
||||
vcs_revision=`echo ${vcs_revision} | head -c10`
|
||||
|
||||
cat > libtransmission/version.h.new << EOF
|
||||
#pragma once
|
||||
|
|
Loading…
Reference in a new issue