Hello Philipp, thanks for answering. Em Dom, 2005-07-10 às 20:32 +0200, Philipp Kern escreveu: > On Sun, 2005-07-10 at 15:19 -0300, Marco Tulio Gontijo e Silva wrote: > > How can I set where dh_haskell (or any debhelper script, I gues) will be > > executed? > > As you are running the script in ./ anywhere you could just use a shell > statement like the following: (cd c2hs/; dh_haskell) > It will chdir to the directory you specify, run the command and chdir > back to the current working directory.
I've tried to do that some time ago, and I didn't get why it haven't worked. Now I've tried it again, adding pwd, and the exit (strangely) was: (...) cd c2hs/ pwd /home/marcot/debian/c2hs-0.13.6 dh_haskell -plibghc6-c2hs-dev Generating meta-information... grep: *.cabal: No such file or directory grep: *.cabal: No such file or directory grep: *.cabal: No such file or directory grep: *.cabal: No such file or directory ghc-6.4 /usr/lib/haskell-packages/ghc6/lib/- Building setup... Running: ghc6 -package Cabal Setup.lhs -o setup ghc-6.4: file `Setup.lhs' does not exist ghc6 -package Cabal Setup.lhs -o setup files: 256 at /usr/bin/dh_haskell line 167. make: *** [binary-predeb/libghc6-c2hs-dev] Error 1 [EMAIL PROTECTED]:~/debian/c2hs-0.13.6$ So cd hasn't work, and I don't know why. I think that if cd worked, everything will be solved. -- Abraços, marcot mailto:[EMAIL PROTECTED] jabber:[EMAIL PROTECTED] UIN:50599075 MSN:[EMAIL PROTECTED] Tel:33346720 Cel:91844179 R. Paula Cândido 257/201 Gutierrez 30430-260 Belo Horizonte-MG Brazil "Trabalhe menos e mais devagar." -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

