update shebang

This commit is contained in:
Andrejus
2020-02-26 16:15:38 +00:00
parent f8adc62493
commit 84f91cee7e
2 changed files with 7 additions and 2 deletions

View File

@@ -1,4 +1,4 @@
#!/usr/bin/env bash -o pipefail
#!/usr/bin/env bash
#
# Script to set up dotfiles repository and run installer.
#
@@ -33,6 +33,7 @@
# @default "install.sh"
#
#
set -o pipefail
echo "setting up..."
# Variables: $REPOSITORY

View File

@@ -1,7 +1,8 @@
#!/usr/bin/env bash -euo pipefail
#!/usr/bin/env bash
#
# Invokes all install scripts.
#
set -euo pipefail
source "$dotfiles_dir/utils.sh"
printf "Installing ${C_CYAN}$REPOSITORY${C_NC}"
printf " as ${C_YELLOW}$USER${C_NC}\n\n"
@@ -22,6 +23,9 @@ if [ -f "$install_lock_file" ]; then
fi
touch "$install_lock_file" # Requires clean
# Ensure MAKE is installed
if not_installed "make"; then install make; fi
# Run all install scripts
readonly install_dir="$dotfiles_dir/install"
readonly script_filter="$install_dir/*.sh" # Don't escape to unwrap glob