1
0
mirror of https://github.com/samba-team/samba.git synced 2025-03-11 16:58:40 +03:00

buildtools: Reformat shell scripts

shfmt -f buildtools | xargs shfmt -w -p -i 0 -fn

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
This commit is contained in:
Andreas Schneider 2022-02-19 08:52:17 +01:00 committed by Andreas Schneider
parent a9eebca923
commit 2d5d88ff34
6 changed files with 80 additions and 81 deletions

View File

@ -47,4 +47,3 @@ compare_file()
for f in $gen_files; do for f in $gen_files; do
compare_file $f compare_file $f
done done

View File

@ -12,9 +12,9 @@ set width 0
EOF EOF
# On older linker versions _init|_fini symbols are not hidden. # On older linker versions _init|_fini symbols are not hidden.
objdump --dynamic-syms "${SHAREDLIB}" | \ objdump --dynamic-syms "${SHAREDLIB}" |
awk '$0 !~ /.hidden/ {if ($2 == "g" && $3 ~ /D(F|O)/ && $4 ~ /(.bss|.rodata|.text)/) print $NF}' | \ awk '$0 !~ /.hidden/ {if ($2 == "g" && $3 ~ /D(F|O)/ && $4 ~ /(.bss|.rodata|.text)/) print $NF}' |
sort | \ sort |
while read -r s; do while read -r s; do
echo "echo $s: " echo "echo $s: "
echo p "${s}" echo p "${s}"

View File

@ -1,6 +1,6 @@
#!/bin/sh #!/bin/sh
p=`dirname $0` p=$(dirname $0)
echo "Setting up for waf build" echo "Setting up for waf build"

View File

@ -17,7 +17,7 @@ fi
echo "testing in dirs $tests" echo "testing in dirs $tests"
for d in $tests; do for d in $tests; do
echo "`date`: testing $d" echo "$(date): testing $d"
pushd $d pushd $d
rm -rf bin rm -rf bin
type waf type waf