Changeset 2702

Show
Ignore:
Timestamp:
06/04/07 17:43:32 (2 years ago)
Author:
tg
Message:

prevent BSD users from attempting the impossible

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/freewrt/scripts/scan-pkgs.sh

    r2623 r2702  
    11# $FreeWRT: src/share/misc/licence.template,v 1.20 2006/12/11 21:04:56 tg Rel $ 
    22#- 
    3 # Copyright (c) 2006 
     3# Copyright (c) 2006, 2007 
    44#       Thorsten Glaser <tg@mirbsd.de> 
    55# 
     
    4646topdir=$(readlink -nf $(dirname $0)/..) 
    4747export PATH=$topdir/lbin:$PATH 
     48OStype=$(env NOFAKE=yes uname) 
    4849out=0 
    4950 
     
    128129fi 
    129130 
     131if [[ -n $FWRT_COMPILE_MYSQL && $OStype != Linux ]]; then 
     132        echo >&2 mySQL does not build on non-GNU/Linux. 
     133        out=1 
     134fi 
    130135 
    131136#-- end of dependency checks