Attempt to fix recursive cloning for submodules

This commit is contained in:
Andrew R. M 2025-04-04 17:42:35 +00:00
parent e68ccd8bc7
commit e332049a0d

View File

@ -1,6 +1,11 @@
#!/usr/bin/env bash
# Install my dotfiles on a variety of systems
echo "CURRENT LOCATION: $PWD"
set -ex
echo "PWD: $PWD"
# Coder dotfiles (and most other ways of doing this) will not do a recursive clone, so do that in install script.
git submodule init && git submodule update
echo "Installing dotfiles..."
if [ -f /etc/os-release ]; then
@ -28,6 +33,6 @@ else
fi
# Apply the dotfiles with stow
echo "RUNNING APPLY DOTFILES"
echo "Running apply dotfiles"
./apply-dotfiles
echo "RAN APPLY DOTFILES"
echo "Dotfiles applied successfully"