[devtools] fix whitespace/indentation errors

Message ID 20190402073242.32551-1-arch@eckner.net
State Accepted
Delegated to: Jelle van der Waa
Headers show
Series
  • [devtools] fix whitespace/indentation errors
Related show

Commit Message

Eli Schwartz via arch-projects April 2, 2019, 7:32 a.m. UTC
From: Erich Eckner <git@eckner.net>

Some lines are indented by spaces, while adjacent lines are indentet by tabs.
We should use tabs on both.

Signed-off-by: Erich Eckner <git@eckner.net>
---
 archbuild.in    | 2 +-
 find-libdeps.in | 2 +-
 mkarchroot.in   | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

Patch

diff --git a/archbuild.in b/archbuild.in
index bd5706d5..163a1082 100644
--- a/archbuild.in
+++ b/archbuild.in
@@ -71,7 +71,7 @@  else
 		-C "@pkgdatadir@/pacman-${repo}.conf" \
 		-M "@pkgdatadir@/makepkg-${arch}.conf" \
 		"${chroots}/${repo}-${arch}/root" \
-                pacman -Syu --noconfirm || abort
+		pacman -Syu --noconfirm || abort
 fi
 
 # Always build official packages reproducibly
diff --git a/find-libdeps.in b/find-libdeps.in
index 07ba3d84..7a3e6f5d 100644
--- a/find-libdeps.in
+++ b/find-libdeps.in
@@ -57,7 +57,7 @@  process_sofile() {
 
 case $script_mode in
 	deps) find_args=(-perm -u+x);;
-        provides) find_args=(-name '*.so*');;
+	provides) find_args=(-name '*.so*');;
 esac
 
 find . -type f "${find_args[@]}" | while read -r filename; do
diff --git a/mkarchroot.in b/mkarchroot.in
index 52e363fc..a9a5a0fe 100644
--- a/mkarchroot.in
+++ b/mkarchroot.in
@@ -84,7 +84,7 @@  while read -r varname; do
 done < <(declare -x | sed -r 's/^declare -x ([^=]*)=.*/\1/' | grep -i '_proxy$')
 env -i "${_env[@]}" \
 pacstrap -GMcd ${pac_conf:+-C "$pac_conf"} "$working_dir" \
-  "${cache_dirs[@]/#/--cachedir=}" "$@" || die 'Failed to install all packages'
+	"${cache_dirs[@]/#/--cachedir=}" "$@" || die 'Failed to install all packages'
 
 printf '%s.UTF-8 UTF-8\n' en_US de_DE > "$working_dir/etc/locale.gen"
 echo 'LANG=en_US.UTF-8' > "$working_dir/etc/locale.conf"