summaryrefslogtreecommitdiff
path: root/extra_install.sh
blob: e4f1b3710f3fd790358aaee288134e09cc2a2a19 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#!/bin/bash
local_dir="`dirname $0`"
config_file=$local_dir/local_config.sh
if [ ! -f $config_file ]
then
   echo "$config_file cannot be found"
   exit
fi
source $config_file

if [ -z "$EFL_REPO_DIR" ]
then
   echo "EFL_REPO_DIR must be set in $config_file"
   echo "Example: EFL_REPO_DIR=~/e/efl"
   exit
fi

rm -f $local_dir/data/eo_files/efl/*.eo*
mkdir -p $local_dir/data/eo_files/efl

cp `find $EFL_REPO_DIR/src/lib -name '*.eo' | tr "\n" " "` $local_dir/data/eo_files/efl/
cp `find $EFL_REPO_DIR/src/lib -name '*.eot' | tr "\n" " "` $local_dir/data/eo_files/efl/