]> git.ipfire.org Git - thirdparty/systemd.git/commit - tools/meson-check-api-docs.sh
scripts: use 4 space indentation
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Thu, 4 Apr 2019 12:10:42 +0000 (14:10 +0200)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Fri, 12 Apr 2019 06:30:31 +0000 (08:30 +0200)
commitcc5549ca12616376a4e4ef04fd4e2fb53d6d098c
tree68e2b0d1da95d280e8d3c277298db65c62a18ec4
parent408c9a07e55572f272e38fc84174cf610a9c9ccb
scripts: use 4 space indentation

We had all kinds of indentation: 2 sp, 3 sp, 4 sp, 8 sp, and mixed.
4 sp was the most common, in particular the majority of scripts under test/
used that. Let's standarize on 4 sp, because many commandlines are long and
there's a lot of nesting, and with 8sp indentation less stuff fits. 4 sp
also seems to be the default indentation, so this will make it less likely
that people will mess up if they don't load the editor config. (I think people
often use vi, and vi has no support to load project-wide configuration
automatically. We distribute a .vimrc file, but it is not loaded by default,
and even the instructions in it seem to discourage its use for security
reasons.)

Also remove the few vim config lines that were left. We should either have them
on all files, or none.

Also remove some strange stuff like '#!/bin/env bash', yikes.
88 files changed:
.dir-locals.el
.editorconfig
.vimrc
coccinelle/run-coccinelle.sh
man/50-xdg-data-dirs.sh
semaphoreci/gcc-compilation.sh
semaphoreci/setup.sh
src/basic/generate-af-list.sh
src/basic/generate-arphrd-list.sh
src/basic/generate-cap-list.sh
src/basic/generate-errno-list.sh
src/boot/efi/no-undefined-symbols.sh
src/journal/generate-audit_type-list.sh
src/shared/generate-ip-protocol-list.sh
src/udev/generate-keyboard-keys-gperf.sh
src/udev/generate-keyboard-keys-list.sh
test/TEST-01-BASIC/test.sh
test/TEST-02-CRYPTSETUP/test.sh
test/TEST-03-JOBS/test.sh
test/TEST-04-JOURNAL/test-journal.sh
test/TEST-04-JOURNAL/test.sh
test/TEST-05-RLIMITS/test-rlimits.sh
test/TEST-05-RLIMITS/test.sh
test/TEST-06-SELINUX/test-selinux-checks.sh
test/TEST-06-SELINUX/test.sh
test/TEST-07-ISSUE-1981/test-segfault.sh
test/TEST-07-ISSUE-1981/test.sh
test/TEST-08-ISSUE-2730/test.sh
test/TEST-09-ISSUE-2691/test.sh
test/TEST-10-ISSUE-2467/test.sh
test/TEST-11-ISSUE-3166/test.sh
test/TEST-12-ISSUE-3171/test.sh
test/TEST-13-NSPAWN-SMOKE/test.sh
test/TEST-14-MACHINE-ID/test.sh
test/TEST-15-DROPIN/test-dropin.sh
test/TEST-15-DROPIN/test.sh
test/TEST-16-EXTEND-TIMEOUT/test.sh
test/TEST-17-UDEV-WANTS/test.sh
test/TEST-17-UDEV-WANTS/testsuite.sh
test/TEST-18-FAILUREACTION/test.sh
test/TEST-18-FAILUREACTION/testsuite.sh
test/TEST-19-DELEGATE/test.sh
test/TEST-19-DELEGATE/testsuite.sh
test/TEST-20-MAINPIDGAMES/test.sh
test/TEST-20-MAINPIDGAMES/testsuite.sh
test/TEST-21-SYSUSERS/test.sh
test/TEST-22-TMPFILES/test.sh
test/TEST-23-TYPE-EXEC/test.sh
test/TEST-23-TYPE-EXEC/testsuite.sh
test/TEST-24-UNIT-TESTS/test.sh
test/TEST-24-UNIT-TESTS/testsuite.sh
test/TEST-25-IMPORT/test.sh
test/TEST-25-IMPORT/testsuite.sh
test/TEST-26-SETENV/test.sh
test/TEST-26-SETENV/testsuite.sh
test/TEST-27-STDOUTFILE/test.sh
test/TEST-27-STDOUTFILE/testsuite.sh
test/TEST-28-PERCENTJ-WANTEDBY/test.sh
test/TEST-29-UDEV-ID_RENAMING/test.sh
test/TEST-29-UDEV-ID_RENAMING/testsuite.sh
test/TEST-30-ONCLOCKCHANGE/test.sh
test/TEST-30-ONCLOCKCHANGE/testsuite.sh
test/TEST-31-DEVICE-ENUMERATION/test.sh
test/TEST-31-DEVICE-ENUMERATION/testsuite.sh
test/run-integration-tests.sh
test/test-efi-create-disk.sh
test/test-functions
tools/add-git-hook.sh
tools/check-directives.sh
tools/choose-default-locale.sh
tools/coverity.sh
tools/find-build-dir.sh
tools/find-double-newline.sh
tools/find-tabs.sh
tools/meson-apply-m4.sh
tools/meson-check-api-docs.sh
tools/meson-check-help.sh
tools/meson-git-contrib.sh
tools/meson-hwdb-update.sh
tools/meson-make-symlink.sh
tools/meson-vcs-tag.sh
tools/oss-fuzz.sh
travis-ci/managers/travis_wait.bash
travis-ci/managers/xenial.sh
travis-ci/scripts/build-docker-image.sh
travis-ci/tools/get-coverity.sh
units/meson-add-wants.sh
xorg/50-systemd-user.sh