Merge pull request #36 from roothybrid7/feature/alt-with-spaces

This commit is contained in:
Tim Byrne 2017-01-06 07:55:42 -06:00
commit 39e5548347
No known key found for this signature in database
GPG Key ID: 6CBE24C2FD8CF76E
1 changed files with 1 additions and 0 deletions

1
yadm
View File

@ -122,6 +122,7 @@ function alt() {
#; loop over all "tracked" files #; loop over all "tracked" files
#; for every file which matches the above regex, create a symlink #; for every file which matches the above regex, create a symlink
last_linked='' last_linked=''
local IFS=$'\n'
for tracked_file in $(git ls-files | sort); do for tracked_file in $(git ls-files | sort); do
tracked_file="$YADM_WORK/$tracked_file" tracked_file="$YADM_WORK/$tracked_file"
#; process both the path, and it's parent directory #; process both the path, and it's parent directory