Clean up comments to fix errors seen while processing with shocco
Change-Id: I0e97ad27613313f03e47c107051ea93b115d4744
... | ... |
@@ -16,6 +16,7 @@ |
16 | 16 |
# It also assumes default install location (/opt/stack/xxx) |
17 | 17 |
# to aid in debug, you should also verify that you've added |
18 | 18 |
# an output directory for screen logs: |
19 |
+# |
|
19 | 20 |
# SCREEN_LOGDIR=/opt/stack/screen-logs |
20 | 21 |
|
21 | 22 |
CERT_DIR=$(cd $(dirname "$0") && pwd) |
... | ... |
@@ -2,10 +2,15 @@ |
2 | 2 |
# |
3 | 3 |
# The following variables are assumed to be defined by certain functions: |
4 | 4 |
# |
5 |
+# - ``DATABASE_BACKENDS`` |
|
5 | 6 |
# - ``ENABLED_SERVICES`` |
6 | 7 |
# - ``FILES`` |
7 | 8 |
# - ``GLANCE_HOSTPORT`` |
9 |
+# - ``REQUIREMENTS_DIR`` |
|
10 |
+# - ``STACK_USER`` |
|
8 | 11 |
# - ``TRACK_DEPENDS`` |
12 |
+# - ``UNDO_REQUIREMENTS`` |
|
13 |
+# |
|
9 | 14 |
|
10 | 15 |
# Include the common functions |
11 | 16 |
FUNC_DIR=$(cd $(dirname "${BASH_SOURCE:-$0}") && pwd) |
... | ... |
@@ -45,7 +50,7 @@ function cleanup_tmp { |
45 | 45 |
# Updates the dependencies in project_dir from the |
46 | 46 |
# openstack/requirements global list before installing anything. |
47 | 47 |
# |
48 |
-# Uses globals ``TRACK_DEPENDS``, ``REQUIREMENTS_DIR`` |
|
48 |
+# Uses globals ``TRACK_DEPENDS``, ``REQUIREMENTS_DIR``, ``UNDO_REQUIREMENTS`` |
|
49 | 49 |
# setup_develop directory |
50 | 50 |
function setup_develop() { |
51 | 51 |
local project_dir=$1 |
... | ... |
@@ -6,8 +6,9 @@ |
6 | 6 |
# This is appropriate for python libraries that release to pypi and are |
7 | 7 |
# expected to be used beyond OpenStack like, but are requirements |
8 | 8 |
# for core services in global-requirements. |
9 |
-# * wsme |
|
10 |
-# * pecan |
|
9 |
+# |
|
10 |
+# * wsme |
|
11 |
+# * pecan |
|
11 | 12 |
# |
12 | 13 |
# This is not appropriate for stackforge projects which are early stage |
13 | 14 |
# OpenStack tools |
... | ... |
@@ -54,9 +54,7 @@ $0 -P -C mytenant -u myuser -p mypass |
54 | 54 |
EOF |
55 | 55 |
} |
56 | 56 |
|
57 |
-if ! options=$(getopt -o hPAp:u:r:C: -l os-username:,os-password:,os-tenant-name:,os-tenant-id:,os-auth-url:,target-dir:,skip-tenant:,os-cacert:,help,debug -- "$@") |
|
58 |
-then |
|
59 |
- #parse error |
|
57 |
+if ! options=$(getopt -o hPAp:u:r:C: -l os-username:,os-password:,os-tenant-name:,os-tenant-id:,os-auth-url:,target-dir:,skip-tenant:,os-cacert:,help,debug -- "$@"); then |
|
60 | 58 |
display_help |
61 | 59 |
exit 1 |
62 | 60 |
fi |