aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorB. Watson <urchlay@slackware.uk>2024-07-15 04:00:50 -0400
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2024-07-20 08:09:08 +0700
commit60ba0cfbf2b7b421df8204e7e033b14390188c58 (patch)
tree7cd093cc0a310decf0a14ad54e4d10b4064bcc69
parent2d09b3b04ba4737d0279240cd26c5d048f68a56d (diff)
misc/bsdmainutils: Replaced backtick cmdsub.
Signed-off-by: B. Watson <urchlay@slackware.uk> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r--misc/bsdmainutils/bsdmainutils.SlackBuild4
1 files changed, 2 insertions, 2 deletions
diff --git a/misc/bsdmainutils/bsdmainutils.SlackBuild b/misc/bsdmainutils/bsdmainutils.SlackBuild
index 5bb5ac9bc5b1..1a13d1cebe51 100644
--- a/misc/bsdmainutils/bsdmainutils.SlackBuild
+++ b/misc/bsdmainutils/bsdmainutils.SlackBuild
@@ -119,9 +119,9 @@ make
# Build judaic calendar (as per debian/rules)
currentyear=2017 # Year of the latest entry in debian/changelog
-year=`expr $currentyear + 5`
+year=$( expr $currentyear + 5 )
while [ ${year} -ne ${currentyear} ] ; do
- year=`expr $year - 1`
+ year=$( expr $year - 1 )
python debian/calendarJudaic.py $year > debian/calendars/calendar.judaic.$year
done
( cd debian/calendars