Rockbox Development > Starting Development and Compiling

Windows Shortcut to Cygwin Shell script

(1/2) > >>

digerati1338:
I've got a shell script written that automatically syncs to svn, builds, and merges in extras (themes, fonts, etc).  My question is is there a way to create a windows shortcut to a cygwin shell script?  This would allow a simple double click from windows, and could also be automated.

By the way, if anyone wants the shell script just ask me.  It will work in linux or cygwin.

bluebrother:
you can create a shortcut that runs bash and pass bash that script file as argument. Haven't tried that on cygwin, but it should work.

Nate!:
It would be interesting to know if you can do this.  Cygwin is linux-like so you have to be in that "environment" in order to execute it's commands, I would think.

digerati1338:

--- Quote ---you can create a shortcut that runs bash and pass bash that script file as argument. Haven't tried that on cygwin, but it should work.
--- End quote ---
This is exactly what I am looking for, but I don't know how to pass an argument to cygwin.

bluebrother:

--- Quote from: digerati1338 on May 19, 2007, 12:50:48 PM ---This is exactly what I am looking for, but I don't know how to pass an argument to cygwin.
--- End quote ---
You don't pass an argument to cygwin -- you pass it to the shell. Check the link that starts the cygwin environment itself, it mostly only starts some program with a couple of arguments.

Navigation

[0] Message Index

[#] Next page

Go to full version