- Timestamp:
- 02/04/2015 06:28:18 AM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/api.wordpress.org/public_html/dotorg/github-sync/feature-plugins.sh
r1207 r1217 4 4 SVN_PLUGIN=$2; 5 5 6 # Expect ENV vars: $PHP_SVN_USER, $PHP_SVN_PASSWORD 7 6 8 # Split by newlines only in bash arrays 7 9 IFS=$'\r\n' 8 10 9 # ENV vars: $PHP_SVN_USER, $PHP_SVN_PASSWORD 11 # Ensure that we're running with a UTF8 character set for commits with UTF8 characters 12 locale | grep LC_CTYPE | grep -qie 'utf-\?8'; 13 if [ $? -eq 1 ]; then 14 export LC_ALL=$( locale -a | grep -ie 'utf-\?8' | head -1 ); 15 fi; 10 16 17 # Validate all Parameters are present 11 18 if [ ! $GITHUB_URL ] || [ ! $SVN_PLUGIN ] || [ ! $PHP_SVN_USER ] || [ ! $PHP_SVN_PASSWORD ]; then 12 19 echo "Invalid Input, missing parameter"; exit 1
Note: See TracChangeset
for help on using the changeset viewer.