scripts: woops, root's UID is 0, not 1000!
author"Yann E. MORIN" <yann.morin.1998@free.fr>
Thu Jan 10 23:09:38 2013 +0100 (2013-01-10)
changeset 31645a534736f62f
parent 3163 06938bc1c6e7
child 3165 d4b4efd6536e
scripts: woops, root's UID is 0, not 1000!

Left-over from a test... :-(

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
scripts/crosstool-NG.sh.in
     1.1 --- a/scripts/crosstool-NG.sh.in	Thu Jan 10 22:38:48 2013 +0100
     1.2 +++ b/scripts/crosstool-NG.sh.in	Thu Jan 10 23:09:38 2013 +0100
     1.3 @@ -27,7 +27,7 @@
     1.4  
     1.5  # Check running as root
     1.6  if [ -z "${CT_ALLOW_BUILD_AS_ROOT_SURE}" ]; then
     1.7 -    if [ $(id -u) -eq 1000 ]; then
     1.8 +    if [ $(id -u) -eq 0 ]; then
     1.9          CT_DoLog ERROR "You must NOT be root to run crosstool-NG"
    1.10          exit 1
    1.11      fi