summaryrefslogtreecommitdiff
path: root/bin/gitify
diff options
context:
space:
mode:
authorLuke T. Shumaker <lukeshu@lukeshu.com>2023-10-14 17:41:48 -0600
committerLuke T. Shumaker <lukeshu@lukeshu.com>2023-10-14 19:04:19 -0600
commit84d09b97bf85096e98b8f6f7e95008788ab15f5f (patch)
tree0bd6e0743719c83350a73f0e504d9337ec5fd642 /bin/gitify
parent8722fff2231107011d4b87104b7a024e48a6e0a3 (diff)
sed -r is deprecated in favor of -E
Diffstat (limited to 'bin/gitify')
-rwxr-xr-xbin/gitify2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/gitify b/bin/gitify
index 1e5d43d..7282dc3 100755
--- a/bin/gitify
+++ b/bin/gitify
@@ -82,7 +82,7 @@ main() {
HACK_NAME='Luke Shumaker'
HACK_EMAIL='lukeshu@lukeshu.com'
- gitdate="$(sed -r 's/(....)(..)(..)(..)(..)(..)/\1-\2-\3T\4:\5:\6 '"$HACK_TZ"'/' <<<"$time")"
+ gitdate="$(sed -E 's/(....)(..)(..)(..)(..)(..)/\1-\2-\3T\4:\5:\6 '"$HACK_TZ"'/' <<<"$time")"
git add .