Project

General

Profile

« Previous | Next » 

Revision 9550

lib/sh/util.sh: $sed_cmd: don't use `command`, which causes sed calls (which are usually internal) to always be logged. instead, use echo_run wherever sed needs to be logged.

View differences:

util.sh
167 167
	echo "$result"
168 168
}
169 169

  
170
sed_cmd="command sed -`case "$(uname)" in Darwin) echo E;; *) echo r;; esac`"
170
sed_cmd="sed -`case "$(uname)" in Darwin) echo E;; *) echo r;; esac`"
171 171
alias sed="$sed_cmd"
172 172

  
173 173
fi # load new aliases

Also available in: Unified diff