aboutsummaryrefslogtreecommitdiff
path: root/games/anki/files/patch-scripts_status.sh
diff options
context:
space:
mode:
Diffstat (limited to 'games/anki/files/patch-scripts_status.sh')
-rw-r--r--games/anki/files/patch-scripts_status.sh9
1 files changed, 9 insertions, 0 deletions
diff --git a/games/anki/files/patch-scripts_status.sh b/games/anki/files/patch-scripts_status.sh
new file mode 100644
index 000000000000..00e6545bd3c4
--- /dev/null
+++ b/games/anki/files/patch-scripts_status.sh
@@ -0,0 +1,9 @@
+Use _MY_BUILDHASH which is defined in the Port's Makefile
+
+--- scripts/status.sh.orig 2021-02-15 17:35:54 UTC
++++ scripts/status.sh
+@@ -1,3 +1,3 @@
+ #!/bin/bash
+
+-echo "STABLE_BUILDHASH $(git rev-parse --short=8 HEAD || echo nogit)"
++echo "STABLE_BUILDHASH $(git rev-parse --short=8 HEAD || echo %%_MY_BUILDHASH%%)"