Lines Matching defs:fail
36 function fail {
41 [[ -n "$ROOT" ]] || fail "ROOT must be set."
43 [[ -n "$SRC" ]] || fail "SRC must be set."
44 [[ -d "$SRC" ]] || fail "SRC ($SRC) is not a directory."
45 [[ -n "$CODEMGR_WS" ]] || fail "CODEMGR_WS must be set."
46 [[ -d "$CODEMGR_WS" ]] || fail "CODEMGR_WS ($CODEMGR_WS) is not a directory."
97 [[ -d "$ROOT" ]] || fail "ROOT ($ROOT) is not a directory."
108 [[ -n "$tmpdir" ]] || fail "could not create temporary directory."
137 fail "findcrypto produced absolute path ($f)"
144 [[ $? -eq 0 ]] || fail "could not copy crypto files."
152 fail "could not add BINARYLICENSE.txt"
155 fail "could not add THIRDPARTYLICENSE.ON-CRYPTO."
157 (cd "$tmpdir"; tar cf "$tarfile" proto) || fail "could not create $tarfile."
158 bzip2 -f "$tarfile" || fail "could not compress $tarfile".