mirror of https://github.com/apache/kafka.git
MINOR: Fix sftp_mkdir in release.py
Author: Ismael Juma <ismael@juma.me.uk>
Reviewers: Damian Guy <damian.guy@gmail.com>
Closes #3789 from ijuma/ftp-release-py-fixes
(cherry picked from commit b1871e5adf)
Signed-off-by: Damian Guy <damian.guy@gmail.com>
This commit is contained in:
parent
7b6e5f96ce
commit
f7b9d523e3
|
|
@ -121,6 +121,8 @@ def user_ok(msg):
|
|||
|
||||
def sftp_mkdir(dir):
|
||||
basedir, dirname = os.path.split(dir)
|
||||
if not basedir:
|
||||
basedir = "."
|
||||
try:
|
||||
cmd_str = """
|
||||
cd %s
|
||||
|
|
|
|||
Loading…
Reference in New Issue