update shebang
This commit is contained in:
@@ -1,4 +1,4 @@
|
|||||||
#!/usr/bin/env bash -o pipefail
|
#!/usr/bin/env bash
|
||||||
#
|
#
|
||||||
# Script to set up dotfiles repository and run installer.
|
# Script to set up dotfiles repository and run installer.
|
||||||
#
|
#
|
||||||
@@ -33,6 +33,7 @@
|
|||||||
# @default "install.sh"
|
# @default "install.sh"
|
||||||
#
|
#
|
||||||
#
|
#
|
||||||
|
set -o pipefail
|
||||||
echo "setting up..."
|
echo "setting up..."
|
||||||
|
|
||||||
# Variables: $REPOSITORY
|
# Variables: $REPOSITORY
|
||||||
|
|||||||
@@ -1,7 +1,8 @@
|
|||||||
#!/usr/bin/env bash -euo pipefail
|
#!/usr/bin/env bash
|
||||||
#
|
#
|
||||||
# Invokes all install scripts.
|
# Invokes all install scripts.
|
||||||
#
|
#
|
||||||
|
set -euo pipefail
|
||||||
source "$dotfiles_dir/utils.sh"
|
source "$dotfiles_dir/utils.sh"
|
||||||
printf "Installing ${C_CYAN}$REPOSITORY${C_NC}"
|
printf "Installing ${C_CYAN}$REPOSITORY${C_NC}"
|
||||||
printf " as ${C_YELLOW}$USER${C_NC}\n\n"
|
printf " as ${C_YELLOW}$USER${C_NC}\n\n"
|
||||||
@@ -22,6 +23,9 @@ if [ -f "$install_lock_file" ]; then
|
|||||||
fi
|
fi
|
||||||
touch "$install_lock_file" # Requires clean
|
touch "$install_lock_file" # Requires clean
|
||||||
|
|
||||||
|
# Ensure MAKE is installed
|
||||||
|
if not_installed "make"; then install make; fi
|
||||||
|
|
||||||
# Run all install scripts
|
# Run all install scripts
|
||||||
readonly install_dir="$dotfiles_dir/install"
|
readonly install_dir="$dotfiles_dir/install"
|
||||||
readonly script_filter="$install_dir/*.sh" # Don't escape to unwrap glob
|
readonly script_filter="$install_dir/*.sh" # Don't escape to unwrap glob
|
||||||
|
|||||||
Reference in New Issue
Block a user