From 350253cd5e16595f744858d27ec3f07b13bcd334 Mon Sep 17 00:00:00 2001 From: Botcha Pinaki Rama Bhavabhuthi Date: Sat, 7 Sep 2024 12:41:12 +0530 Subject: [PATCH] Pick up user's date during make build Replaced the hardcoded year with a system date picker so that the user can easily build the plugin without additional steps --- getSources.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/getSources.sh b/getSources.sh index 91e18ad..63a676b 100755 --- a/getSources.sh +++ b/getSources.sh @@ -1,5 +1,5 @@ #!/bin/bash -TODAY=2177 +TODAY=$(date +%Y) # Pick up the user's year automatically START=$TODAY-365 echo "{ \"list\": [" @@ -12,4 +12,4 @@ do fi done -echo "] }" \ No newline at end of file +echo "] }"