It is currently Wed Jun 19, 2013 2:06 pm

All times are UTC




Post new topic Reply to topic  [ 1 post ] 
Author Message
 Post subject: [gelöst]"cd" befehl wird in bash script nicht ausgeführt ?
PostPosted: Mon Jul 21, 2008 5:59 am 
Regular Zenwalker
Regular Zenwalker
User avatar

Joined: Thu Jun 05, 2008 8:36 pm
Posts: 41
kurze frage,
habe ein bash script im /usr/bin geschrieben wenn ich es aufrufe werden alle befehle ausgeführt, außer der "cd" befehl.

warum ist das so (ist mir noch nie bei linux passiert) ?

lösung--------------------------------------------------
war kein cd fehler

der sauerbraten script hatte ein fehler

Quote:
#!/bin/sh
cd /usr/share/sauerbraten
sauerbraten_unix -f1 "\%@"

lösung:
#!/bin/sh
cd /usr/share/sauerbraten
./sauerbraten_unix -f1 "\%@"


 Profile Send private message  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 

All times are UTC


 Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to: