Signed-off-by: Kefu Chai <kchai@redhat.com>
while [ "$#" -gt 0 ]; do
case "$1" in
-h|--help)
- printf '%s: [--no-cache] <branch>[:sha1] <enviornment>\n' "$0"
+ printf '%s: [--no-cache] <branch>[:sha1] <environment>\n' "$0"
exit 0
;;
--no-cache)
}
trap cleanup INT EXIT
-# find all the .deps directorys
+# find all the .deps directories
DEPDIRS=`find . -name ".deps" -print`
if [ -z "$DEPDIRS" ] ; then
- echo "No depdirs found. Ceph must be built before running dependecy check"
+ echo "No depdirs found. Ceph must be built before running dependency check"
fi
# find all the headers
default_label = ''
if len(sys.argv) > 1 and sys.argv[1] in SPECIAL_BRANCHES:
argv = sys.argv[2:]
- default_branch = 'HEAD' # Leave HEAD deatched
+ default_branch = 'HEAD' # Leave HEAD detached
default_base = default_branch
default_label = False
else: