mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2026-05-24 19:28:53 +03:00
Turn checkbashisms into a make target
make_gitrev.sh actually breaks checkbashisms' parser, which /insists/ that the end-of-line " is actually a string start Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Signed-off-by: Ahelenia Ziemiańska <nabijaczleweli@nabijaczleweli.xyz> Closes #12101
This commit is contained in:
@@ -56,9 +56,9 @@ then
|
||||
# already exists (in the source)
|
||||
if [ -f "${top_srcdir}/${GITREV}" ]
|
||||
then
|
||||
ZFS_GITREV="$(sed -n \
|
||||
ZFS_GITREV=$(sed -n \
|
||||
'1s/^#define[[:blank:]]ZFS_META_GITREV "\([^"]*\)"$/\1/p' \
|
||||
"${top_srcdir}/${GITREV}")"
|
||||
"${top_srcdir}/${GITREV}")
|
||||
fi
|
||||
elif [ ${dist} = yes ]
|
||||
then
|
||||
|
||||
Reference in New Issue
Block a user