mirror of
https://github.com/tfussell/xlnt.git
synced 2024-03-22 13:11:17 +08:00
15 lines
180 B
Bash
15 lines
180 B
Bash
|
#!/bin/sh
|
||
|
|
||
|
for var in "$@"; do
|
||
|
split=(${var/=/ })
|
||
|
export ${split[0]}=${split[1]}
|
||
|
done
|
||
|
|
||
|
if [ "$USE_CMAKE" = 1 ]; then
|
||
|
cd cmake
|
||
|
else
|
||
|
cd genie
|
||
|
fi
|
||
|
|
||
|
./build-linux.sh $1
|