mirror of
https://github.com/vaadin/framework.git
synced 2024-08-05 08:17:31 +02:00
16 lines
253 B
Bash
16 lines
253 B
Bash
|
#!/bin/bash
|
||
|
|
||
|
# Must use gsed on Mac
|
||
|
if [[ "$OSTYPE" == "darwin"* ]]
|
||
|
then
|
||
|
export SED=`which gsed`
|
||
|
else
|
||
|
export SED=`which sed`
|
||
|
fi
|
||
|
|
||
|
if [ ! -x "$SED" ]
|
||
|
then
|
||
|
echo "Sed not found, install gsed on Mac or sed on Linux"
|
||
|
exit 1
|
||
|
fi
|