diff --git a/scripts/getHash.sh b/scripts/getHash.sh index a733b34..bc54056 100644 --- a/scripts/getHash.sh +++ b/scripts/getHash.sh @@ -1,3 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash -echo -n $(cat .git/modules/hexo-starter/refs/heads/master) > hash \ No newline at end of file +echo -n "$(cat .git/modules/hexo-starter/refs/heads/master)" > ./hash +echo "starter version: $(cat ./hash)" \ No newline at end of file