]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
script: fix typos
authorKefu Chai <kchai@redhat.com>
Tue, 18 Sep 2018 03:31:57 +0000 (11:31 +0800)
committerKefu Chai <kchai@redhat.com>
Fri, 21 Sep 2018 04:43:33 +0000 (12:43 +0800)
Signed-off-by: Kefu Chai <kchai@redhat.com>
src/script/ceph-debug-docker.sh
src/script/dep-report.sh
src/script/ptl-tool.py

index 88e8d79d088fdcad6d3a3285efd52a83480f5175..eac98183eeec218edb5032faef9b5968fe7ef77d 100755 (executable)
@@ -25,7 +25,7 @@ function main {
     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)
index 401d09a9ef64b278b6de70dc2462fd7a3a67ccb6..c2eeaed780ba927a4b4401dde297c6ddf1df09d1 100755 (executable)
@@ -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
index bc1338a792a4c3a3bf1dee4e3ba9b86676b54cf3..04aeaa5fac4cf81a522b6fc5a1f13cae74e8498e 100755 (executable)
@@ -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: