From a2eff2fc32392888caf86036a30a45d339d1dad0 Mon Sep 17 00:00:00 2001 From: Kefu Chai Date: Tue, 18 Sep 2018 11:31:57 +0800 Subject: [PATCH] script: fix typos Signed-off-by: Kefu Chai --- src/script/ceph-debug-docker.sh | 2 +- src/script/dep-report.sh | 4 ++-- src/script/ptl-tool.py | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/script/ceph-debug-docker.sh b/src/script/ceph-debug-docker.sh index 88e8d79d088..eac98183eee 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 401d09a9ef6..c2eeaed780b 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 bc1338a792a..04aeaa5fac4 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: -- 2.47.3