Skip to content

Spaces in paths on Cygwin #5

Description

@securesean

I ran into a few problems when spaces are in the git repo name so I double quoted the paramerter to the update function:
update "$d";
and also check to see if the 'cd' failed:
cd "$dir" ;
if [ "$?" == "1" ]; then
cecho r "Failed to enter the git repo directory. Returning early"
addFailedRepo ${dir};
return
fi

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions