The directories was ok. The problem was my way to write the script. I solve with these one. (sorry for my bad language .... I'm in EU).
#!/bin/sh cd '/home/bmeccoffice/linuxcnc-dev' scripts/rip-environment linuxcnc regards bkt Il giorno gio 27 set 2018 alle ore 19:36 Nicklas Karlsson < [email protected]> ha scritto: > On Thu, 27 Sep 2018 19:00:00 +0200 > theman whosoldtheworld <[email protected]> wrote: > > > I try to run this simple script: > > > > #!/bin/sh > > > > cd '/home/bmeccoffice/linuxcnc-dev' > > > > . ./scripts/rip-environment > > > > linuxcnc > > but in terminal I get an error about . ./ obviusly in a bash script is > not > > accept these command (. space .) .... there are other way to write it? > > No but if files are moved to other directory I think it does not work. > > > _______________________________________________ > Emc-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/emc-users > _______________________________________________ Emc-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/emc-users
