We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cba2eb1 commit f40736dCopy full SHA for f40736d
scripts/getHash.sh
@@ -1,3 +1,4 @@
1
-#!/bin/bash
+#!/usr/bin/env bash
2
3
-echo -n $(cat .git/modules/hexo-starter/refs/heads/master) > hash
+echo -n "$(cat .git/modules/hexo-starter/refs/heads/master)" > ./hash
4
+echo "starter version: $(cat ./hash)"
0 commit comments