From 09f8d52b002ec5e3abc23d04eec8eefde86734e6 Mon Sep 17 00:00:00 2001 From: Linus Groh Date: Tue, 20 Apr 2021 18:29:35 +0200 Subject: [PATCH] Ports: Consistently indent with four spaces --- Ports/c-ray/package.sh | 4 ++-- Ports/dash/package.sh | 30 +++++++++++++++--------------- Ports/ed/package.sh | 2 +- Ports/hatari/package.sh | 2 +- Ports/openssh/package.sh | 6 +++--- 5 files changed, 22 insertions(+), 22 deletions(-) diff --git a/Ports/c-ray/package.sh b/Ports/c-ray/package.sh index 2ad4efb8168..94de863aaf7 100755 --- a/Ports/c-ray/package.sh +++ b/Ports/c-ray/package.sh @@ -13,6 +13,6 @@ configure() { } install() { - mkdir -p "${SERENITY_INSTALL_ROOT}/home/anon/c-ray" - cp -r "${port}-${version}"/* "${SERENITY_INSTALL_ROOT}/home/anon/c-ray" + mkdir -p "${SERENITY_INSTALL_ROOT}/home/anon/c-ray" + cp -r "${port}-${version}"/* "${SERENITY_INSTALL_ROOT}/home/anon/c-ray" } diff --git a/Ports/dash/package.sh b/Ports/dash/package.sh index 740d05b8581..bbd652924fa 100755 --- a/Ports/dash/package.sh +++ b/Ports/dash/package.sh @@ -7,24 +7,24 @@ http://gondor.apana.org.au/~herbert/dash/files/dash-${version}.tar.gz.sha256sum auth_type="sha256" configure() { - host_env - run autoupdate - run autoconf - run aclocal - run automake --add-missing - run mkdir -p host-build - run sh -c "cd host-build && ../configure $configopts CFLAGS=-I." - target_env - run mkdir -p target-build - run sh -c "cd target-build && ../configure --host="${SERENITY_ARCH}-pc-serenity" --disable-helpers $configopts CFLAGS=-I." + host_env + run autoupdate + run autoconf + run aclocal + run automake --add-missing + run mkdir -p host-build + run sh -c "cd host-build && ../configure $configopts CFLAGS=-I." + target_env + run mkdir -p target-build + run sh -c "cd target-build && ../configure --host="${SERENITY_ARCH}-pc-serenity" --disable-helpers $configopts CFLAGS=-I." } build() { - host_env - run sh -c "cd host-build && make $makeopts" - run cp host-build/src/{mkinit,mksyntax,mknodes,mksignames} src - target_env - run sh -c "cd target-build && make $makeopts" + host_env + run sh -c "cd host-build && make $makeopts" + run cp host-build/src/{mkinit,mksyntax,mknodes,mksignames} src + target_env + run sh -c "cd target-build && make $makeopts" } install() { diff --git a/Ports/ed/package.sh b/Ports/ed/package.sh index 471303e8c4d..c1dbf691e02 100755 --- a/Ports/ed/package.sh +++ b/Ports/ed/package.sh @@ -10,5 +10,5 @@ useconfigure=true depends=pcre2 configure() { - run ./"$configscript" + run ./"$configscript" } diff --git a/Ports/hatari/package.sh b/Ports/hatari/package.sh index aaec6041942..4fa2186c25b 100755 --- a/Ports/hatari/package.sh +++ b/Ports/hatari/package.sh @@ -10,7 +10,7 @@ files="https://github.com/hatari/hatari/archive/${commit}.tar.gz ${commit}.tar.g auth_type=md5 configure() { - run cmake $configopts + run cmake $configopts } install() { diff --git a/Ports/openssh/package.sh b/Ports/openssh/package.sh index ecf5885c4ae..dcd79fcd92b 100755 --- a/Ports/openssh/package.sh +++ b/Ports/openssh/package.sh @@ -9,10 +9,10 @@ useconfigure=true configopts="--prefix=/usr/local --disable-utmp --sysconfdir=/etc/ssh --with-ssl-dir=${SERENITY_INSTALL_ROOT}/usr/local/lib" pre_configure() { - run autoreconf + run autoreconf } install() { - # Can't make keys outside of Serenity since ssh-keygen is built for Serenity. - run make DESTDIR="${SERENITY_INSTALL_ROOT}" $installopts install-nokeys + # Can't make keys outside of Serenity since ssh-keygen is built for Serenity. + run make DESTDIR="${SERENITY_INSTALL_ROOT}" $installopts install-nokeys }