Fix defaut IFS for Ubuntu 11.x

This commit is contained in:
Nathan Broadbent
2012-03-08 17:35:03 +08:00
parent b90a8b9c8b
commit aca96a5e8c
5 changed files with 13 additions and 13 deletions

View File

@@ -40,7 +40,7 @@ git_status_shortcuts() {
if [ "$scmbDebug" = "true" ]; then echo "Set \$$git_env_char$e => $file"; fi
let e++
done
unset IFS
IFS=$' \t\n'
if [ "$scmbDebug" = "true" ]; then echo "------------------------"; fi
# Print status
@@ -115,7 +115,7 @@ git_silent_add_patch_shortcuts() {
git add -p "$file"
echo -e "# add '$file'"
done
unset IFS
IFS=$' \t\n'
echo "#"
fi
}