Changeset 104

Show
Ignore:
Timestamp:
06/18/06 18:46:54 (6 years ago)
Author:
tg
Message:

require GNU tar and install it as tar, for now

ok wbx@

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/freewrt/Makefile

    r92 r104  
    102102                ln -s $$(which make) lbin/gmake; \ 
    103103        fi 
     104        @if which gtar >/dev/null 2>&1; then \ 
     105                ln -s $$(which gtar) lbin/tar; \ 
     106        else \ 
     107                ln -s $$(which tar) lbin/tar; \ 
     108        fi 
    104109        @if ! which md5sum >/dev/null 2>&1; then \ 
    105110                cp scripts/md5sum.bsd lbin/md5sum; \ 
  • trunk/freewrt/scripts/scan-tools.sh

    r94 r104  
    175175fi 
    176176 
     177if ! tar --version 2>&1 | fgrep 'GNU tar' >/dev/null 2>&1; then 
     178        echo You must install GNU tar for now, sorry... 
     179        echo this is horrid, I know, but it will be fixed RSN. 
     180        exit 1 
     181fi 
    177182 
    178183cd $topdir