aboutsummaryrefslogtreecommitdiff
path: root/etc
diff options
context:
space:
mode:
Diffstat (limited to 'etc')
-rwxr-xr-xetc/format-check.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/etc/format-check.sh b/etc/format-check.sh
index c98ac586..68b3d8eb 100755
--- a/etc/format-check.sh
+++ b/etc/format-check.sh
@@ -21,7 +21,7 @@ no|off|skip|NO|OFF|SKIP)
exit 0
;;
esac
-mydir=`dirname $0`
+mydir=$(dirname $0)
srcdir=${mydir}/../src
failed=
@@ -56,7 +56,7 @@ if [ "${maj}" -eq 3 -a "${min}" -lt 6 ]; then
fi
-mytmpdir=`mktemp -d`
+mytmpdir=$(mktemp -d)
diffprog=${DIFF:-diff}
if [ -t 1 ]; then
@@ -66,7 +66,7 @@ if [ -t 1 ]; then
fi
cd ${srcdir}
-for file in `find . -name '*.[ch]' -print`
+for file in $(find . -name '*.[ch]' -print)
do
ext=${file##*.}
oldf=${file}