- bugfix for linux installer build script finding vlc folder

This commit is contained in:
SoftCoder 2014-01-17 19:23:33 -08:00
parent a690867bcd
commit d6e7deb26e
1 changed files with 3 additions and 1 deletions

View File

@ -270,9 +270,11 @@ if [ $REPACKONLY -eq 0 ]; then
copyGlestDeptsCmd="${INSTALL_ROOTDIR}makedeps_folder.sh megaglest"
$copyGlestDeptsCmd
cd "$CURRENTDIR"
cd data
LIBVLC_DIR_CHECK=$( ldd megaglest | grep "libvlc\." | sort -u | awk '{print $3}' )
if [ "$LIBVLC_DIR_CHECK" != '' ]; then
LIBVLC_DIR=$( $LIBVLC_DIR_CHECK | xargs dirname )
LIBVLC_DIR=$( dirname $LIBVLC_DIR_CHECK )
fi
echo LibVLC installed in [$LIBVLC_DIR] copying to lib/