Re: dealing with executable shell scripts

2012-03-21 Thread Bob Friesenhahn
On Wed, 21 Mar 2012, Paul Elliott wrote: How will Microsoft Windows File Manager and KDE's Dolphin know how to open the proper program for the file if the file lacks a proper file extension? Bob But if you don't remove the extension, and it is in the $PATH varriable, you won't be able to get y

Re: dealing with executable shell scripts

2012-03-21 Thread Paul Elliott
On Tuesday, March 20, 2012 08:16:14 PM Bob Friesenhahn wrote: > On Tue, 20 Mar 2012, NightStrike wrote: > > Yes. There's an earlier email in this thread from somebody > > illustrating that you don't need to morph from source to script if the > > file doesn't actually get changed. > > How will Mic

Re: dealing with executable shell scripts

2012-03-21 Thread NightStrike
On Tue, Mar 20, 2012 at 9:06 PM, Miles Bader wrote: > 2012年3月21日13:13 NightStrike : >> Here's a better question.  How do you insure that your current file is >> executable?  Do it the same way. > > Er "cp $< $@ && chmod +x $@" ... :] > > [Relying on source-code execute bits always being corre

Problems with linking correct ldap library version

2012-03-21 Thread Manjesh HS
Hi, I am using the GNU automake tools for the build mechanism of my project. My project is integrated as a subsystem into a telecom platform. My subsystem has client and management libraries and on the platform side i do some host adaptation and i will unarchive my standalone project and compile. I

Re: dealing with executable shell scripts

2012-03-21 Thread Russ Allbery
Bob Friesenhahn writes: > On Wed, 21 Mar 2012, Russ Allbery wrote: >> Miles Bader writes: >>> [Relying on source-code execute bits always being correctly maintained >>> is one of those things that ... well... doesn't really feel very robust. >>> I dunno, maybe it's just me...] >> Doesn't every

Re: dealing with executable shell scripts

2012-03-21 Thread Bob Friesenhahn
On Wed, 21 Mar 2012, Russ Allbery wrote: Miles Bader writes: [Relying on source-code execute bits always being correctly maintained is one of those things that ... well... doesn't really feel very robust. I dunno, maybe it's just me...] Doesn't every package with a configure script rely on

Re: dealing with executable shell scripts

2012-03-21 Thread Russ Allbery
Miles Bader writes: > [Relying on source-code execute bits always being correctly maintained > is one of those things that ... well... doesn't really feel very robust. > I dunno, maybe it's just me...] Doesn't every package with a configure script rely on this? I suppose that people could chmod

Re: dealing with executable shell scripts

2012-03-21 Thread Miles Bader
2012年3月21日13:13 NightStrike : > Here's a better question. How do you insure that your current file is > executable? Do it the same way. Er "cp $< $@ && chmod +x $@" ... :] [Relying on source-code execute bits always being correctly maintained is one of those things that ... well... doesn't