summaryrefslogtreecommitdiff
path: root/create_tools/create_minibase.sh
blob: b49bf1979d5f42f9fe34fbfcfd74dfca7e28d3cd (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
#!/bin/dash

SOURCE_DIR=src
MINIBASE_VERSION=0.7

OUT_DIRECTORY=out

#prepare
_PWD=`pwd`

echo "Unarchive minibase"
cd $SOURCE_DIR
rm -rf minibase-$MINIBASE_VERSION
unzip -o minibase.zip
cd minibase-$MINIBASE_VERSION
./configure
make


#save result
#declare -a allowed_binaries
#ls ../../$OUT_DIRECTORY/minibase
#mkdir ../../$OUT_DIRECTORY/minibase
#find ./ -executable -type f | xargs -I {} cp ./{} ../../$OUT_DIRECTORY/minibase


echo "Copy minibase to out"