I've been using a script posted by @abaumgarner to install the most recent version of VLC that can be found here which has been working great for me until recently.
The variable that looks for the current version started returning ../ instead of the current version number. I made a couple of small changes to get the proper version number in case anyone else has run into the same issue.
Here's the line from the original script:
#!/bin/sh
vlc_version=`/usr/bin/curl --silent http://mirror.wdc1.us.leaseweb.net/videolan/vlc/last/macosx/ | grep vlc- | cut -d " -f 2 | awk '{printf("%s",$0); exit}' | cut -d . -f 1-3`
Which had to be modified to:
#!/bin/sh
vlc_version=`/usr/bin/curl --silent http://mirror.wdc1.us.leaseweb.net/videolan/vlc/last/macosx/ | grep vlc- | cut -d " -f 2 | awk '{printf("%s",$0);}' | cut -d . -f 1-6 | cut -c4-15`