From f1b69f646b19c5b60287f2fdc58e327fd5ad5e76 Mon Sep 17 00:00:00 2001 From: Salt Date: Sun, 12 Aug 2018 18:31:34 -0500 Subject: [PATCH] replicate.sh: Finally fix the damn submodule update process --- bootstrap/replicate.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/bootstrap/replicate.sh b/bootstrap/replicate.sh index 91576ee..d06ae8a 100755 --- a/bootstrap/replicate.sh +++ b/bootstrap/replicate.sh @@ -1,8 +1,8 @@ #!/bin/sh -tempfolder="/tmp/dots`uuidgen`" +tempfolder="/tmp/dots" gitdir="$HOME/.dotfiles" git clone --recursive --separate-git-dir="$gitdir" git@gitlab.com:rehashedsalt/home.git $tempfolder rsync -rvl --exclude ".git" $tempfolder/ $HOME/ rm -r $tempfolder -git submodule update --init --recursive --remote --git-dir="$gitdir" --work-tree="$HOME" $HOME/ -git config --git-dir="$gitdir" status.showUntrackedFiles no +git --git-dir="$gitdir" --work-tree="$HOME" submodule update --init --recursive --remote +git --git-dir="$gitdir" --work-tree="$HOME" status.showUntrackedFiles no