Skip to content

Commit f40736d

Browse files
authored
chore: update shebang in getHash.sh and add output (#31)
1 parent cba2eb1 commit f40736d

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

scripts/getHash.sh

+3-2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1-
#!/bin/bash
1+
#!/usr/bin/env bash
22

3-
echo -n $(cat .git/modules/hexo-starter/refs/heads/master) > hash
3+
echo -n "$(cat .git/modules/hexo-starter/refs/heads/master)" > ./hash
4+
echo "starter version: $(cat ./hash)"

0 commit comments

Comments
 (0)