-
-
Notifications
You must be signed in to change notification settings - Fork 10
Expand file tree
/
Copy pathprepbuild.sh
More file actions
executable file
·24 lines (17 loc) · 821 Bytes
/
Copy pathprepbuild.sh
File metadata and controls
executable file
·24 lines (17 loc) · 821 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#!/bin/bash
SCRIPT_DIR=$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )
# If /E is specified on the command line we take the following variables from the current environment
if [ "$1" != "/E" ] ; then
# Check these variables and in case adjust them depending on your environment
HOST_PLATFORM=x64
# Check these variables (end)
# These indicates the current version of GixSQL included in Gix-IDE
GIXSQLMAJ=1
GIXSQLMIN=0
GIXSQLREL=21dev
# These indicates the current version of GixSQL included in Gix-IDE (end)
fi
echo "Configuring version ($GIXSQLMAJ.$GIXSQLMIN.$GIXSQLREL) in header file for GixSQL"
echo "#define VERSION \"$GIXSQLMAJ.$GIXSQLMIN.$GIXSQLREL\"" > $SCRIPT_DIR/config.h
echo "Configuring version ($GIXSQLMAJ.$GIXSQLMIN.$GIXSQLREL) in version file for GixSQL"
./version.sh