avoid possible aliasing of grep

This commit is contained in:
Giuseppe Rota
2012-04-26 00:11:42 +03:00
parent 6af0d5fede
commit 843a662149

View File

@@ -30,7 +30,7 @@ git_status_shortcuts() {
git status; return 1
fi
# Fetch list of files from last line of script output
files="$(echo "$cmd_output" | grep '@@filelist@@::' | sed 's%@@filelist@@::%%g')"
files="$(echo "$cmd_output" | command grep '@@filelist@@::' | sed 's%@@filelist@@::%%g')"
if [ "$scmbDebug" = "true" ]; then echo "filelist => $files"; fi
# Export numbered env variables for each file
IFS="|"