mirror of
https://github.com/clearlinux/telemetrics-client.git
synced 2026-08-22 07:35:48 +00:00
2deeef65ad
Signed-off-by: Patrick McCarty <patrick.mccarty@intel.com>
20 lines
381 B
Bash
Executable File
20 lines
381 B
Bash
Executable File
#!/bin/sh
|
|
|
|
curdir=$(basename $(pwd))
|
|
|
|
if [ $curdir != "scripts" ]; then
|
|
echo "Must run this script within the scripts directory"
|
|
exit 1
|
|
fi
|
|
|
|
which uncrustify &> /dev/null
|
|
|
|
if [ "$?" -ne 0 ]; then
|
|
echo "Install uncrustify to continue"
|
|
exit 1
|
|
fi
|
|
|
|
find .. -path "../*/*.[ch]" ! -path "../src/nica/*" -exec uncrustify {} -c tm.cfg --no-backup \;
|
|
|
|
# vi: ts=8 sw=2 sts=2 et tw=80
|