From b4d567d299afe497c362ebfda5f9ef2c6fb9ac5a Mon Sep 17 00:00:00 2001 From: kaotisk Date: Tue, 25 May 2021 08:32:19 +0300 Subject: [fix on script] --- bin/add-new.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)" -- cgit v1.2.3