mirror of
https://github.com/Matir/skel.git
synced 2026-05-25 21:19:09 -07:00
Fix symlinks for submodules.
This fixes the creation of symlinks for submodules when run from outside the repo. Fixes #7.
This commit is contained in:
@@ -66,7 +66,7 @@ install_dotfile_dir() {
|
||||
mkdir -p $(dirname "${TARGET}")
|
||||
ln -s -f "${dotfile}" "${TARGET}"
|
||||
done
|
||||
git submodule status -- "${SRCDIR}" 2>/dev/null | \
|
||||
git -C "${BASEDIR}" submodule status -- "${SRCDIR}" 2>/dev/null | \
|
||||
awk '{print $2}' | \
|
||||
while read submodule ; do
|
||||
local FULLNAME="${BASEDIR}/${submodule}"
|
||||
|
||||
Reference in New Issue
Block a user