diff options
Diffstat (limited to 'scripts/oe-publish-sdk')
-rwxr-xr-x | scripts/oe-publish-sdk | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/oe-publish-sdk b/scripts/oe-publish-sdk index c4c35bda11..ee4169a004 100755 --- a/scripts/oe-publish-sdk +++ b/scripts/oe-publish-sdk | |||
@@ -101,9 +101,9 @@ def publish(args): | |||
101 | 101 | ||
102 | # Setting up the git repo | 102 | # Setting up the git repo |
103 | if not is_remote: | 103 | if not is_remote: |
104 | cmd = 'set -e; mkdir -p %s/layers; cd %s/layers; if [ ! -e .git ]; then git init .; mv .git/hooks/post-update.sample .git/hooks/post-update; fi; git add -A .; git commit -q -m "init repo" || true;' % (destination, destination) | 104 | cmd = 'set -e; mkdir -p %s/layers; cd %s/layers; if [ ! -e .git ]; then git init .; mv .git/hooks/post-update.sample .git/hooks/post-update; fi; git add -A .; git commit -q -m "init repo" || true; git update-server-info' % (destination, destination) |
105 | else: | 105 | else: |
106 | cmd = "ssh %s 'set -e; mkdir-p %s/layers; cd %s/layers; if [ ! -e .git ]; then git init .; mv .git/hooks/post-update.sample .git/hooks/post-update; fi; git add -A .; git commit -q -m \"init repo\" || true;'" % (host, destdir, destdir) | 106 | cmd = "ssh %s 'set -e; mkdir-p %s/layers; cd %s/layers; if [ ! -e .git ]; then git init .; mv .git/hooks/post-update.sample .git/hooks/post-update; fi; git add -A .; git commit -q -m \"init repo\" || true; git update-server-info'" % (host, destdir, destdir) |
107 | ret = subprocess.call(cmd, shell=True) | 107 | ret = subprocess.call(cmd, shell=True) |
108 | if ret == 0: | 108 | if ret == 0: |
109 | logger.info('SDK published successfully') | 109 | logger.info('SDK published successfully') |