From: Kefu Chai Date: Tue, 18 Sep 2018 03:31:57 +0000 (+0800) Subject: script: fix typos X-Git-Tag: v14.0.1~213^2~2 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=a2eff2fc32392888caf86036a30a45d339d1dad0;p=ceph.git script: fix typos Signed-off-by: Kefu Chai --- diff --git a/src/script/ceph-debug-docker.sh b/src/script/ceph-debug-docker.sh index 88e8d79d088fd..eac98183eeec2 100755 --- a/src/script/ceph-debug-docker.sh +++ b/src/script/ceph-debug-docker.sh @@ -25,7 +25,7 @@ function main { while [ "$#" -gt 0 ]; do case "$1" in -h|--help) - printf '%s: [--no-cache] [:sha1] \n' "$0" + printf '%s: [--no-cache] [:sha1] \n' "$0" exit 0 ;; --no-cache) diff --git a/src/script/dep-report.sh b/src/script/dep-report.sh index 401d09a9ef64b..c2eeaed780ba9 100755 --- a/src/script/dep-report.sh +++ b/src/script/dep-report.sh @@ -15,10 +15,10 @@ cleanup() { } 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 diff --git a/src/script/ptl-tool.py b/src/script/ptl-tool.py index bc1338a792a4c..04aeaa5fac4cf 100755 --- a/src/script/ptl-tool.py +++ b/src/script/ptl-tool.py @@ -344,7 +344,7 @@ def main(): 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: