Revision 80efe0bf

View differences:

fix-support-library.sh
1
#!/bin/bash
2

  
3
# we must use the same support lib jar in all the dependencies
4
good_jar="app/libs/android-support-v4.jar"
5

  
6
# all these libs depend on android-support-v4.jar
7
#mapfile <<END # requires newer bash than on MacOS X
8
#external/ActionBarSherlock/actionbarsherlock
9
#external/CacheWord/cachewordlib
10
#END
11

  
12
MAPFILE[0]='external/actionbarsherlock/actionbarsherlock'
13
MAPFILE[1]='external/cacheword/cachewordlib'
14

  
15

  
16
for project in "${MAPFILE[@]}"; do
17
    project=${project%$'\n'} # remove trailing newline
18
    echo "updating $good_jar in $project"
19
    cp -f $good_jar $project/libs
20
done
21

  

Also available in: Unified diff