fix grep unrecognized option: P
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
c36f1a3068
commit
31fbb60079
@ -1,4 +1,4 @@
|
|||||||
#!/bin/bash
|
#!/bin/sh
|
||||||
|
|
||||||
# usage ./commit.sh https://username:password@git.domain.tld/username/repo.git
|
# usage ./commit.sh https://username:password@git.domain.tld/username/repo.git
|
||||||
git clone $1 target
|
git clone $1 target
|
||||||
@ -8,7 +8,7 @@ git config user.email "10000@daihan.me"
|
|||||||
git config user.name "Han Dai"
|
git config user.name "Han Dai"
|
||||||
|
|
||||||
wget https://gitea.dennx.com/api/v1/users/dennydai/heatmap -O heatmap
|
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
|
mkdir -p history
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user