aide pour installer un fichier bash_profile
J'essaye d'installer un programme sous windows avec cygwin, dont le nom est "Last Wave".
Il a fallu d'abord que j'installe copie un pgramme dans le répertoire c:/cygwin.
qui est un script du style:
Code:
1 2 3 4 5 6 7 8 9 10
|
@ECHO OFF
c:
chdir \cygwin\bin
SET MAKE_MODE=UNIX
SET DISPLAY=localhost:0
bash --login -i |
C'est une chose faite. Maintenant, il faut que j'installe un fichier bash_profile.
qui est celui-ci:
Code:
1 2 3 4 5 6 7 8 9 10 11 12 13
|
# Environment variables for LastWave
export LWPATH=$HOME/softs/LastWave_2_0_4/
export LWSOURCEDIR=$LWPATH/scripts/
export ARCH=cygwin
# Putting X11R6 and LastWave in the path
export PATH=$LWPATH/bin/cygwin:/usr/X11R6/bin:$PATH
X&
twm&
xterm -sb -tn vt100 -e bash
exit |
Voici dans la documentation ce qui est ecrit:
"When you run Cygwin by double-cliking the cyglocal.bat link on your windows desktop, you get a bash windows where you can type in comands.
YOu should put the .bash_profile in your home directory (under Cyngwin). This can bi done usinf Windows explorer, the destination folder be something like c:\cygwin\home\..."
The .bash_profile is exectued by the bash shell when you log in."
Ma question est:
Y a t il (et quelle est ) la ligne de commande a mettre dans cygwin pour installer le fichier bash_profile?
Sinon, comment faire?
merci