From 515c1d04eb3d0e74183d84a35b74da0dec2f0ea1 Mon Sep 17 00:00:00 2001 From: uiolee <22849383+uiolee@users.noreply.github.com> Date: Wed, 19 Feb 2025 14:24:39 +0800 Subject: [PATCH] chore: update shebang in getHash.sh and add output (cherry picked from commit c339f1cec8bb799400c8c48b56e35bee309bb0a0) --- scripts/getHash.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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