Changeset 50

Show
Ignore:
Timestamp:
07/27/07 06:58:16 (18 months ago)
Author:
scott
Message:

Updated bin/ scripts to use lib/

Location:
trunk/awkbot/bin
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • trunk/awkbot/bin/awkbot

    r47 r50  
    55# Run the bootstrap, this doesn't do jack but allocate a file. 
    66bootstrap=`tempfile` 
    7 cpp -I /usr/share/awk -I lib lib/awkbot-boot.awk 2> /dev/null > $bootstrap 
     7cpp -I /usr/share/awk -I src src/awkbot-boot.awk 2> /dev/null > $bootstrap 
    88livedata=`awk -f $bootstrap /dev/null` 
    99 
     
    1212 
    1313awkbot=`tempfile` 
    14 cpp -I /usr/share/awk/ -I lib lib/awkbot.awk 2> /dev/null > $awkbot 
     14cpp -I /usr/share/awk/ -I src src/awkbot.awk 2> /dev/null > $awkbot 
    1515 
    1616# Give our continuous input through a pipe to tail.  tail -f never exits. 
  • trunk/awkbot/bin/teststrap

    r48 r50  
    88    echo processing $file 
    99    # Strip comments, stolen from perl! 
    10     sed -f cpp-filter.sed $file | cpp -I lib -I /usr/share/awk > $tmpfile 
     10    sed -f cpp-filter.sed $file | cpp -I src -I /usr/share/awk > $tmpfile 
    1111    echo running $file 
    1212    awk -f $tmpfile