overzealous sed

This commit is contained in:
Gwenhael Le Moine 2023-03-22 16:53:17 +01:00
parent 9886e40a53
commit 8795b7c8cd
No known key found for this signature in database
GPG key ID: FDFE3669426707A7

View file

@ -35,7 +35,7 @@ cp -R "$REPOSITORY" $TMP/
cd "$TMP/$PRGNAM/" || exit 1 cd "$TMP/$PRGNAM/" || exit 1
case $VERSION in case $VERSION in
trunk) trunk)
# PKGVERSION="git_$(git rev-list --count HEAD)" # PKGVERSION="git_$(git log -1 --format=%h_%ad --date=format:%Y.%m.%d)"
PKGVERSION="r$(git rev-list --count HEAD)" PKGVERSION="r$(git rev-list --count HEAD)"
;; ;;
latest) latest)
@ -79,7 +79,7 @@ if [ "$EMBED_WLROOTS" = "yes" ]; then
cd "$TMP/$PRGNAM"/subprojects/wlroots || exit 1 cd "$TMP/$PRGNAM"/subprojects/wlroots || exit 1
case $WLROOTS_VERSION in case $WLROOTS_VERSION in
trunk) trunk)
# WLROOTS_VERSION="git_$(git rev-list --count HEAD)" # WLROOTS_VERSION="git_$(git log -1 --format=%h_%ad --date=format:%Y.%m.%d)"
WLROOTS_VERSION="r$(git rev-list --count HEAD)" WLROOTS_VERSION="r$(git rev-list --count HEAD)"
;; ;;
latest) latest)
@ -109,7 +109,7 @@ if [ "$EMBED_LIBLIFTOFF" = "yes" ]; then
cd "$TMP/$PRGNAM"/subprojects/libliftoff || exit 1 cd "$TMP/$PRGNAM"/subprojects/libliftoff || exit 1
case $LIBLIFTOFF_VERSION in case $LIBLIFTOFF_VERSION in
trunk) trunk)
# LIBLIFTOFF_VERSION="git_$(git rev-list --count HEAD)" # LIBLIFTOFF_VERSION="git_$(git log -1 --format=%h_%ad --date=format:%Y.%m.%d)"
LIBLIFTOFF_VERSION="r$(git rev-list --count HEAD)" LIBLIFTOFF_VERSION="r$(git rev-list --count HEAD)"
;; ;;
latest) latest)
@ -139,7 +139,7 @@ if [ "$EMBED_LIBDISPLAYINFO" = "yes" ]; then
cd "$TMP/$PRGNAM"/subprojects/libdisplay-info || exit 1 cd "$TMP/$PRGNAM"/subprojects/libdisplay-info || exit 1
case $LIBDISPLAYINFO_VERSION in case $LIBDISPLAYINFO_VERSION in
trunk) trunk)
# LIBDISPLAYINFO_VERSION="git_$(git rev-list --count HEAD)" # LIBDISPLAYINFO_VERSION="git_$(git log -1 --format=%h_%ad --date=format:%Y.%m.%d)"
LIBDISPLAYINFO_VERSION="r$(git rev-list --count HEAD)" LIBDISPLAYINFO_VERSION="r$(git rev-list --count HEAD)"
;; ;;
latest) latest)