Changeset 26844

Show
Ignore:
Timestamp:
04.02.2013 21:39:12 (7 years ago)
Author:
davidb
Message:

Test for and setting of a symbolic link for 'android-ndk'

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • gs3-extensions/android-ndk/trunk/src/perl-devel.sh

    r26839 r26844  
    33 
    44export PATH=$PERL_CROSS_HOME/hostperl-5.16.0/bin:$PATH 
     5 
     6 
     7if [ ! -s android-ndk ] ; then 
     8  echo "Creating symbolic link 'android-ndk' ..." 
     9  if [ ! -d ../../local/android-ndk-r8b ] ; then 
     10    echo "Warning: unable to find ../../local/android-ndk-r8b to link to" 
     11  else  
     12    ln -s ../../local/android-ndk-r8b android-ndk 
     13    echo "... done" 
     14  fi 
     15fi 
     16 
    517 
    618echo "+ Updating PATH to include hostperl-5.16.0/bin"