CVS tadam: Remove hard-coded #! line from fvwm-menu-desktop

2011-04-29 Thread cvs
CVSROOT:/home/cvs/fvwm
Module name:fvwm
Changes by: tadam   11/04/29 07:05:50

Modified files:
bin: Tag: branch-2_6 ChangeLog fvwm-menu-desktop.in 

Log message:
Remove hard-coded #! line from fvwm-menu-desktop

@PERL@ always interpolates out to the correct interpreter.




Re: CVS tadam: Remove hard-coded #! line from fvwm-menu-desktop

2011-04-29 Thread despen
c...@math.uh.edu writes:

 CVSROOT:  /home/cvs/fvwm
 Module name:  fvwm
 Changes by:   tadam   11/04/29 07:05:50

 Modified files:
   bin: Tag: branch-2_6 ChangeLog fvwm-menu-desktop.in 

 Log message:
 Remove hard-coded #! line from fvwm-menu-desktop

 @PERL@ always interpolates out to the correct interpreter.

Yeah, I know.

I stuck that in there for testing purposes.

(Yep I sometimes test before commit. :) )

I simply forgot to remove it.

If you notice I stick my test line at the bottom of the file
for Emacs:

# Local Variables:
# mode: cperl
# compile-command: perl fvwm-menu-desktop.in --enable-mini-icons --fvwm-icons
# End:

So, at first I thought if I fed the file to the perl interpreter nothing
would get in the way and I could test the file directly.  But I get:

perl fvwm-menu-desktop.in --enable-mini-icons --fvwm-icons
Can't exec @PERL@ at fvwm-menu-desktop.in line 1.

Just reviewed man perlrun.  If there's a solution, it isn't
obvious to me.

Anyway, thanks.





Re: CVS tadam: Remove hard-coded #! line from fvwm-menu-desktop

2011-04-29 Thread Thomas Adam
On Fri, Apr 29, 2011 at 12:46:39PM -0400, des...@verizon.net wrote:
 Ah, just found a solution.
 
 I put a soft link in the source tree for @PERL@ to /usr/bin/perl.

Thus proving TMTOWTDI.  :)

-- Thomas Adam

-- 
Deep in my heart I wish I was wrong.  But deep in my heart I know I am
not. -- Morrissey (Girl Least Likely To -- off of Viva Hate.)