[emacs] fixed version retrieval

This commit is contained in:
Gwenhael Le Moine 2022-08-22 13:22:35 +02:00
parent 1559d723f9
commit bdeb842de5
No known key found for this signature in database
GPG key ID: FDFE3669426707A7

View file

@ -112,7 +112,7 @@ find . \
-exec chmod 644 {} \+
SRCDIR=$REPOSITORY
EMACS_VERSION=$(grep "AC_INIT(GNU Emacs," $SRCDIR/configure.ac | cut -d, -f 2 | tr -d \ )
EMACS_VERSION=$(grep "AC_INIT(\[GNU Emacs\]," $SRCDIR/configure.ac | cut -d, -f 2 | tr -d \ | tr -d [ | tr -d ])
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \