Use $(...) instead of `...` for command subst. in sysresccd-custom. master
authorW. Trevor King <wking@drexel.edu>
Wed, 24 Mar 2010 11:52:30 +0000 (07:52 -0400)
committerW. Trevor King <wking@drexel.edu>
Wed, 24 Mar 2010 11:52:30 +0000 (07:52 -0400)
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 ;)..

portage-overlay/sys-apps/sysresccd-scripts/files/sysresccd-custom

index e992ebe1fa2905e7b440f7a0118661ef6c0fd0ad..70284b73aca202d6868210994a57c36c4c0b4994 100755 (executable)
@@ -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}"