Re: how to make cron run gaim under my X session?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Valent Turkovic wrote:
> I get an error when trying to start this script:
> 
> ./gaim-start.sh
> ./gaim-start.sh: line 5: script-file=~/gaim-start.sh: No such file or
> directory
> ./gaim-start.sh: line 20: $script: ambiguous redirect
> 
> I tried to edit line 5 and change "script-file" to "$script-file" and
> that also didn't work so I tried changing it to "$script" and it still
> doesn't work...
> 
> I don't know enough bash to troubleshoot it.
> 
> Thank you for your feedback and help Mikkel.
> 
> Valent.
> 
Please do not top post!

I should have tested the script. It does not like script-file, so
replace it with script_file. In line 20, there is a typo - it should
be $script_file instead of $script file. ($script-file with the
original value.)

Mikkel
-- 

A:  Because it messes up the order in which people normally read text.
Q:  Why is top-posting a bad thing?


Attachment: signature.asc
Description: OpenPGP digital signature

-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux