Re: Start af shellscript som er placeret i samme mappe!

Jens Bech Madsen <[email protected]>
Newsgroups gmane.linux.debian.user.danish
Message-ID <[email protected]>
On Fri, 2005-08-05 at 15:26 +0200, Daniel Sørensen wrote:
> Hej,
> 
> Jeg har 2 filer:
> 
> - .autokonf.sh
> 
> - autoconf.desktop
> 
> autoconf.desktop er en genvej til .autokonf.sh, og har denne sti: 
> "sh .autokonf.sh"
> 
> Problemet er nu at shell'en åbenbart åbnes i "~", og at genvejen dermed ikke 
> virker medmindre .autoconf.sh ligger i "~"...
> 
> Hvordan fikses det?

En loesning kunne vaere at indlede autokonf.sh med:

#! /bin/sh

og lave programmet eksekverbart.

Derefter kan du kalde det direkte med ./autokonf.sh

/Jens


-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.