root/trunk/freewrt/scripts/uname.fake
| Revision 1686, 453 bytes (checked in by n0-1, 2 years ago) |
|---|
| Line | |
|---|---|
| 1 | #!/bin/sh |
| 2 | # $FreeWRT$ |
| 3 | #- |
| 4 | # This file is part of the FreeWRT project. FreeWRT is copyrighted |
| 5 | # material, please see the LICENCE file in the top-level directory |
| 6 | # or at http://www.freewrt.org/licence for details. |
| 7 | #- |
| 8 | # Fake we're running under a different operating system (@@ToOS@@) |
| 9 | # than the real one (@@FromOS@@), determined by 'make prereq' |
| 10 | |
| 11 | if test x"$NOFAKE" = x"yes"; then |
| 12 | exec @@PROG@@ "$@" |
| 13 | else |
| 14 | @@PROG@@ "$@" | sed 's!@@FromOS@@!@@ToOS@@!g' |
| 15 | fi |
Note: See TracBrowser for help on using the browser.


