diff --git a/tools/repo-tool b/tools/repo-tool index 2c81f8b568..470f33cdc0 100755 --- a/tools/repo-tool +++ b/tools/repo-tool @@ -91,7 +91,7 @@ upload() { fi touch_addons_xml update_addons_xml - rsync -av --progress --delete target/addons/$ADDON_VERSION $RSYNC_REPO + rsync -av --progress --delete "$RSYNC_SHELL" target/addons/$ADDON_VERSION $RSYNC_REPO } build() { @@ -137,11 +137,11 @@ update_repo_version() { } usage() { - echo " usage: $0 -u to upload" - echo " $0 -b binary|official|all [project-name] to build [for a single project]" - echo " $0 -ru to update PKG_REV" - echo " $0 -rv to update PKG_ADDON_REPOVERSION" - echo " $0 -xml to update the addons.xml" + echo " usage: $0 -u to upload" + echo " $0 -b binary|retroplayer|official|all [project-name] to build [for a single project]" + echo " $0 -ru to update PKG_REV" + echo " $0 -rv to update PKG_ADDON_REPOVERSION" + echo " $0 -xml to update the addons.xml" } if [ "$1" = "-b" -a -z "$2" ]; then @@ -152,6 +152,9 @@ elif [ "$1" = "-b" -a -n "$2" ]; then binary) repo="packages/mediacenter/kodi-binary-addons" ;; + retroplayer) + repo="packages/mediacenter/kodi-binary-addons/game.libretro.*" + ;; official) repo="packages/addons" ;;