Blame view

install/installation-macos.sh 411 Bytes
c6d3901a   Etienne Pallier   added installatio...
1
2
3
4
5
6
7
# Pour Mac OS recent (10.10, Yosemite), la syntaxe du SED est differente
# Il faut donc transformer les instructions sed a l'interieur des fichiers bash

# USAGE: ./installation-macos.sh

macosfile=installation.macos.temp.sh
cp installation.sh $macosfile
a13c2320   Etienne Pallier   update install sc...
8

c6d3901a   Etienne Pallier   added installatio...
9
sed -e "s/ -i / -i '' /" -i '' $macosfile
a13c2320   Etienne Pallier   update install sc...
10
11
sed -e "s/mode_panique/mode_panique_macos/" -i '' $macosfile

c6d3901a   Etienne Pallier   added installatio...
12
13
chmod +x $macosfile
./$macosfile
a13c2320   Etienne Pallier   update install sc...
14

c6d3901a   Etienne Pallier   added installatio...
15
rm -f $macosfile