mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-08-26 08:51:25 +02:00
14 lines
415 B
Diff
14 lines
415 B
Diff
Don't read sbcl version from the aports git repository.
|
|
|
|
--- a/generate-version.sh
|
|
+++ b/generate-version.sh
|
|
@@ -2,7 +2,7 @@
|
|
|
|
git_available_p() {
|
|
# Check that (1) we have git (2) this is a git tree.
|
|
- if ( command -v git >/dev/null && git describe >/dev/null 2>/dev/null )
|
|
+ if ( test -d .git && command -v git >/dev/null && git describe >/dev/null 2>/dev/null )
|
|
then
|
|
echo "ok"
|
|
else
|