Project

General

Profile

« Previous | Next » 

Revision 9162

lib/sh/util.sh: echo_cmd(): don't remove -- after command, because it is added by the command() function instead and does not appear in the command sent to echo_run()

View differences:

util.sh
195 195

  
196 196
echo_cmd()
197 197
{
198
	case "$1" in command) # command implied by the log_level
199
		shift
200
		case "$1" in --) shift;; esac
201
	;; esac
198
	case "$1" in command) shift;; esac # command implied by the log_level
202 199
	log "$*"
203 200
}
204 201

  

Also available in: Unified diff