mirror of
https://git.freebsd.org/ports.git
synced 2025-06-08 06:10:30 -04:00
and the Firefox extension. Rename the port from security/libbeid to security/beid now that it's more than just a library.
16 lines
486 B
Bash
16 lines
486 B
Bash
--- scripts/build-aux/genver.sh.orig 2017-10-27 12:42:43 UTC
|
|
+++ scripts/build-aux/genver.sh
|
|
@@ -1,11 +1,11 @@
|
|
#!/bin/sh
|
|
|
|
-GITDESC=$(git describe --dirty|sed -e 's/-/./g' 2>/dev/null)
|
|
+GITDESC=$(git describe --dirty 2>/dev/null | sed -e 's/-/./g')
|
|
VERCLEAN=$(echo $GITDESC|sed -Ee 's/^.*v([0-9]+\.[0-9]+(\.[0-9]+|bp)).*$/\1/')
|
|
|
|
GITDESC="$VERCLEAN-$GITDESC"
|
|
|
|
-if [ -z "$GITDESC" ]; then
|
|
+if [ "$GITDESC" = "-" ]; then
|
|
if [ -f ".version" ]; then
|
|
GITDESC=$(cat .version)
|
|
else
|