Home | History | Annotate | Download | only in tools

Lines Matching defs:error

19 function error() {
20 echo "*** ERROR: " $@
40 error "Missing tool: sha1sum (Linux: apt-get install coreutils; Mac: port install md5sha1sum)"
45 [[ -z "$OUT" ]] && error "Missing output.xml name."
50 [[ ! -f "$SCHEMA" ]] && error "Invalid XML schema name: $SCHEMA."
56 [[ -z "$XMLNS" ]] && error "Failed to find xmlns:sdk in $SCHEMA."
65 [[ -z "$ROOT" ]] && error "Failed to find root element in $SCHEMA."
332 [[ -z $TYPE ]] && error "Unknown archive type '$1'."
353 [[ ! -f "$SRC" ]] && error "Missing file for archive $TYPE/$OS: $SRC"
404 error "Failed to find source.properties or manifest.ini in $SRC"
407 [[ ! -f $PROPS ]] && error "Failed to extract $PROPS from $SRC"