aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRobby Workman <rworkman@slackware.com>2009-05-13 14:05:56 -0500
committerRobby Workman <rworkman@slackware.com>2009-05-13 14:05:56 -0500
commit243fc689453662f4573f2601a64c5c7f9312906d (patch)
tree1bb8d78f43b05dc1225aed0ce9e0343985d4ce17
parent1e8df80682aedee357e9b65e7974a0999f4d1bdf (diff)
downloadmodule-init-tools-243fc689453662f4573f2601a64c5c7f9312906d.tar.gz
install-with-care: Replace backticks with braces
This seems to be the current "standard" (which is probably not the best word to use and will cause whining), so here's a patch. Feel free to ignore this one :-)
-rwxr-xr-xinstall-with-care2
1 files changed, 1 insertions, 1 deletions
diff --git a/install-with-care b/install-with-care
index 4ae7c9b..eb699cf 100755
--- a/install-with-care
+++ b/install-with-care
@@ -5,7 +5,7 @@ echo install-with-care "$@"
# Final arg is dest.
eval DEST=\$$#
-case `echo $DEST | tr -s / /` in
+case $(echo $DEST | tr -s / /) in
/sbin/insmod.static) ;;# This didn't exist before, OK.
/sbin/insmod|/sbin/lsmod|/sbin/modprobe|/sbin/rmmod|/sbin/depmod)
if [ -f $DEST ] && [ -f $DEST.old ]; then