mirror of
https://github.com/percona/percona-toolkit.git
synced 2025-12-24 02:01:42 +08:00
Fix 'Bad substitution' error in util/build-packages.
This commit is contained in:
@@ -292,9 +292,9 @@ update_rel_notes() {
|
||||
|
||||
local line="v$VERSION released $DATE"
|
||||
local len=${#line}
|
||||
local ul=$(printf "%${len}s")
|
||||
local ul="$(printf "%${len}s" | tr [:space:] '=')"
|
||||
echo "$line" >> /tmp/release_notes.tmp
|
||||
echo "${ul// /=}" >> /tmp/release_notes.tmp
|
||||
echo "$ul" >> /tmp/release_notes.tmp
|
||||
echo >> /tmp/release_notes.tmp
|
||||
(cd $cwd && cat $REL_NOTES >> /tmp/release_notes.tmp)
|
||||
echo >> /tmp/release_notes.tmp
|
||||
|
||||
Reference in New Issue
Block a user