Asko Kauppi wrote: > Trying to use a "simple" if-else in fink scripts; WHAT am I missing?? > > Sample scripts do have plenty of if's, what's so special with this: > > if test `uname -r` \< "8.7.0"; then > sh: -c: line 2: syntax error: unexpected end of file > ### execution of if failed, exit code 2
You didn't forget to place a #!/bin/sh -ex at the beginning of your script, perhaps? -- Martin Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Fink-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/fink-devel
