aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorCraig Jennings <c@cjennings.net>2026-02-23 05:27:27 -0600
committerCraig Jennings <c@cjennings.net>2026-02-23 05:27:27 -0600
commita171caf0b0a5541246f994155406e840b28390de (patch)
tree4afb0aa86ac94b2d627ccf3fb93e5481194f43b7 /scripts
parenta0c491bf45c9e745ae7445c0581828ad84cd92f8 (diff)
downloadarchangel-a171caf0b0a5541246f994155406e840b28390de.tar.gz
archangel-a171caf0b0a5541246f994155406e840b28390de.zip
chore: standardize shebangs, fix lint target, add .editorconfig
- Change all script shebangs to #!/usr/bin/env bash for portability (heredocs writing to installed systems keep #!/bin/bash) - Remove || true from Makefile lint target so shellcheck errors fail the build - Add .editorconfig for consistent formatting across editors
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/boot-vm.sh2
-rwxr-xr-xscripts/build-release2
-rwxr-xr-xscripts/full-test.sh2
-rwxr-xr-xscripts/sanity-test.sh2
-rwxr-xr-xscripts/test-install.sh2
-rwxr-xr-xscripts/test-vm.sh2
6 files changed, 6 insertions, 6 deletions
diff --git a/scripts/boot-vm.sh b/scripts/boot-vm.sh
index 6eb8eea..99686e3 100755
--- a/scripts/boot-vm.sh
+++ b/scripts/boot-vm.sh
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
# boot-vm.sh - Boot the VM from disk if installed, otherwise from ISO
#
# This is a simple wrapper that does the right thing:
diff --git a/scripts/build-release b/scripts/build-release
index bdd6711..035c4fe 100755
--- a/scripts/build-release
+++ b/scripts/build-release
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
# build-release - Build and distribute the archangel ISO
#
# Usage:
diff --git a/scripts/full-test.sh b/scripts/full-test.sh
index fe164d1..7728859 100755
--- a/scripts/full-test.sh
+++ b/scripts/full-test.sh
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
# full-test.sh - Comprehensive installation testing for archangel ISO
#
# Runs automated installation tests for all disk configurations:
diff --git a/scripts/sanity-test.sh b/scripts/sanity-test.sh
index 9248da1..1973ee6 100755
--- a/scripts/sanity-test.sh
+++ b/scripts/sanity-test.sh
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
# sanity-test.sh - Automated sanity test for archangel ISO
#
# Boots the ISO in a headless QEMU VM, waits for SSH, runs verification
diff --git a/scripts/test-install.sh b/scripts/test-install.sh
index 9240c12..4f9f0d8 100755
--- a/scripts/test-install.sh
+++ b/scripts/test-install.sh
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
# test-install.sh - Automated installation testing for archangel
#
# Runs unattended installs in VMs using test config files.
diff --git a/scripts/test-vm.sh b/scripts/test-vm.sh
index f2a4a00..2f93bd2 100755
--- a/scripts/test-vm.sh
+++ b/scripts/test-vm.sh
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
# test-vm.sh - Test the archangel ISO in a QEMU virtual machine
#
# Usage: