fix grep unrecognized option: P
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Han Dai 2020-02-29 23:39:18 -05:00
parent c36f1a3068
commit 31fbb60079

View File

@ -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