aboutsummaryrefslogtreecommitdiff
path: root/bin/add-new.sh
diff options
context:
space:
mode:
authorkaotisk <kaotisk@arching-kaos.com>2021-05-25 08:32:19 +0300
committerkaotisk <kaotisk@arching-kaos.com>2021-05-25 08:32:19 +0300
commitb4d567d299afe497c362ebfda5f9ef2c6fb9ac5a (patch)
tree10f17bc7cd1d98f09e319d80dd038ebf8e0ef95d /bin/add-new.sh
parentedea2a5a3e1aeb7088a4dbc340b10e2838fc6662 (diff)
download01-NEWS-b4d567d299afe497c362ebfda5f9ef2c6fb9ac5a.tar.gz
01-NEWS-b4d567d299afe497c362ebfda5f9ef2c6fb9ac5a.tar.bz2
01-NEWS-b4d567d299afe497c362ebfda5f9ef2c6fb9ac5a.zip
[fix on script]
Diffstat (limited to 'bin/add-new.sh')
-rw-r--r--bin/add-new.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/add-new.sh b/bin/add-new.sh
index 2f7da1f..c82bc70 100644
--- a/bin/add-new.sh
+++ b/bin/add-new.sh
@@ -1,5 +1,5 @@
#!/bin/bash
-export NEWS_FILE=$(date +%Y%m%d_%H%M%S)"
+export NEWS_FILE="$(date +%Y%m%d_%H%M%S)"
vi $NEWS_FILE
git add $NEWS_FILE
git commit -m "$(head -n 1 $NEWS_FILE)"