diff options
author | kaotisk <kaotisk@arching-kaos.com> | 2021-05-25 08:32:19 +0300 |
---|---|---|
committer | kaotisk <kaotisk@arching-kaos.com> | 2021-05-25 08:32:19 +0300 |
commit | b4d567d299afe497c362ebfda5f9ef2c6fb9ac5a (patch) | |
tree | 10f17bc7cd1d98f09e319d80dd038ebf8e0ef95d | |
parent | edea2a5a3e1aeb7088a4dbc340b10e2838fc6662 (diff) | |
download | 01-NEWS-b4d567d299afe497c362ebfda5f9ef2c6fb9ac5a.tar.gz 01-NEWS-b4d567d299afe497c362ebfda5f9ef2c6fb9ac5a.tar.bz2 01-NEWS-b4d567d299afe497c362ebfda5f9ef2c6fb9ac5a.zip |
[fix on script]
-rw-r--r-- | bin/add-new.sh | 2 |
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)" |