diff --git a/commit.sh b/commit.sh index ab4f3b2..38fe7ba 100644 --- a/commit.sh +++ b/commit.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/bin/sh # usage ./commit.sh https://username:password@git.domain.tld/username/repo.git git clone $1 target @@ -8,7 +8,7 @@ git config user.email "10000@daihan.me" git config user.name "Han Dai" wget https://gitea.dennx.com/api/v1/users/dennydai/heatmap -O heatmap -heatmap=$(cat heatmap | grep -Po [0-9]+) +heatmap=$(cat heatmap | grep -Eo [0-9]+) mkdir -p history