Skip to content

Commit

Permalink
Fixup typo in build script
Browse files Browse the repository at this point in the history
  • Loading branch information
StormTrooper committed Apr 9, 2018
1 parent 19a5927 commit a38621e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion package/mediacenter-next-osmc/build.sh
Expand Up @@ -414,7 +414,7 @@ game.libretro.vbam game.libretro.vecx game.libretro.virtualjaguar game.libretro.
if [ "$API_VERSION" = "18" ]; then api_name="leia"; fi
if [ "$API_VERSION" = "19" ]; then api_name="tbc"; fi
base_url="http://mirror.us.leaseweb.net/xbmc/addons/${api_name}"
#handle_dep "wget" # We do not usually use wget in the build environment
handle_dep "wget" # We do not usually use wget in the build environment
languages=$(wget ${base_url} -O- | grep resource.language. | sed -e 's/<a/\n<a/g' | sed -e 's/<a .*href=['"'"'"]//' -e 's/["'"'"'].*$//' -e '/^$/ d' | sed '/tr/d' | sed 's/resource.language.//' | tr -d /)
if [ $? != 0 ]; then echo "Can't get list of languages" && exit 1; fi
for language in ${languages}
Expand Down

0 comments on commit a38621e

Please sign in to comment.