Changeset 855 for tags


Ignore:
Timestamp:
Feb 18, 2016, 1:20:45 PM (3 years ago)
Author:
darcy
Message:

Fix tests so that script runs under NetBSD.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • tags/4.2.1/mktar

    r852 r855  
    1717FILES="*.c *.h *.py *.cfg *.rst *.txt"
    1818NUMFILES=`ls $FILES | wc -l`
    19 if [ "$NUMFILES" != "9" ]
     19if [ $NUMFILES != 9 ]
    2020then
    2121    echo "Hmmm.  The number of top-level files seems to be wrong:"
     
    2727FILES="mktar mkdocs docs tests pg.py pgdb.py pgmodule.c setup.cfg"
    2828PERMS=`stat --printf="%a" $FILES`
    29 if [ $? -ne 0 -o "$PERMS" != '755755755755644644644644' ]
     29if [ $? -eq 0 -a "$PERMS" != '755755755755644644644644' ]
    3030then
    3131    echo "Hmmm.  File permissions are not set properly."
Note: See TracChangeset for help on using the changeset viewer.