From d97efff8909f5eb227493d1882c8eb03e0fa9e22 Mon Sep 17 00:00:00 2001 From: "W. Trevor King" Date: Wed, 24 Mar 2010 07:52:30 -0400 Subject: [PATCH] Use $(...) instead of `...` for command subst. in sysresccd-custom. I like the new way better, because expansion is more straightforward. Not that that matters in this case, but the new way seems to show up more in these scripts, and it's good to be consistent ;).. --- .../sys-apps/sysresccd-scripts/files/sysresccd-custom | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/portage-overlay/sys-apps/sysresccd-scripts/files/sysresccd-custom b/portage-overlay/sys-apps/sysresccd-scripts/files/sysresccd-custom index e992ebe..70284b7 100755 --- a/portage-overlay/sys-apps/sysresccd-scripts/files/sysresccd-custom +++ b/portage-overlay/sys-apps/sysresccd-scripts/files/sysresccd-custom @@ -73,7 +73,7 @@ die() # $1 == MB required by the function check_freespace() { - SIZE=`(df -m -P ${WORKDIR}) | tail -n 1 | awk '{print $4}'` + SIZE=$(df -m -P ${WORKDIR} | tail -n 1 | awk '{print $4}') if [ -z "$SIZE" ] then help_readman "Could not determine amount of room in ${WORKDIR}" -- 2.26.2