- Timestamp:
- 09/07/2016 06:02:21 AM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/api.wordpress.org/public_html/dotorg/github-sync/feature-plugins.sh
r2295 r3983 1 1 #!/bin/bash 2 2 3 GITHUB_ URL=$1;3 GITHUB_REPO=$1; 4 4 SVN_PLUGIN=$2; 5 5 … … 16 16 17 17 # Validate all Parameters are present 18 if [ ! $GITHUB_ URL] || [ ! $SVN_PLUGIN ] || [ ! $PHP_SVN_USER ] || [ ! $PHP_SVN_PASSWORD ]; then18 if [ ! $GITHUB_REPO ] || [ ! $SVN_PLUGIN ] || [ ! $PHP_SVN_USER ] || [ ! $PHP_SVN_PASSWORD ]; then 19 19 echo "Invalid Input, missing parameter"; exit 1 20 20 fi 21 21 22 GITHUB_URL="git://github.com/$GITHUB_REPO.git" 22 23 SVN_URL="https://plugins.svn.wordpress.org/$SVN_PLUGIN/trunk/" 23 24 ASSETS_SVN_URL="https://plugins.svn.wordpress.org/$SVN_PLUGIN/assets/"
Note: See TracChangeset
for help on using the changeset viewer.