aboutsummaryrefslogtreecommitdiffstats
path: root/testing/sbcl/fix-generate-version.patch
blob: 521520e86a5ea5c7f767f2ab5519b82c2d152b12 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
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