Skip to content

Commit

Permalink
Fix appveyor's error
Browse files Browse the repository at this point in the history
  • Loading branch information
jroimartin committed Mar 23, 2017
1 parent 0c2a93b commit 2a55713
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions configure-plugins
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ generate_configh () {
if [ ! "$oldlib" = "$lib" ]; then
[ -n "$oldlib" ] && echo " 0"
oldlib=$lib
uclib=$(echo $lib | tr '[a-z]' '[A-Z]')
uclib=$(echo $lib | perl -pe '$_=uc')
echo
echo "#define R_${uclib}_STATIC_PLUGINS \\"
plugins="${plugins} __${uclib}"
Expand All @@ -71,7 +71,7 @@ generate_configh () {
plg=$(echo $a | cut -d . -f 2) # plugin name
if [ ! "$oldlib" = "$lib" ]; then
oldlib=$lib
uclib=$(echo $lib | tr '[a-z]' '[A-Z]')
uclib=$(echo $lib | perl -pe '$_=uc')
if [ -z "`echo ${plugins} | grep __${uclib}`" ]; then
plugins="${plugins} __${uclib}"
echo
Expand All @@ -90,7 +90,7 @@ generate_configmk () {
if [ ! "$oldlib" = "$lib" ]; then
[ -n "$oldlib" ] && printf "\n"
oldlib=$lib
uclib=$(echo $lib | tr '[a-z]' '[A-Z]')
uclib=$(echo $lib | perl -pe '$_=uc')
printf "STATIC_${uclib}_PLUGINS= "
plugins="${plugins} __${uclib}"
fi
Expand All @@ -102,7 +102,7 @@ generate_configmk () {
# fill the holes with love
for a in ${SHARED} ; do
lib=$(echo $a | cut -d . -f 1) # library
uclib=$(echo $lib | tr '[a-z]' '[A-Z]')
uclib=$(echo $lib | perl -pe '$_=uc')
if [ -z "`echo ${plugins} | grep __${uclib}`" ]; then
plugins="${plugins} __${uclib}"
echo "STATIC_${uclib}_PLUGINS="
Expand Down

0 comments on commit 2a55713

Please sign in to comment.