echo "Position to QUERYFLEX DIRECTORY (qryflex/unx)" 

. fxsettar

cd ..
cd ..

if test "$1" = ""; then 
     echo "INSERT Diskette 1 and Press Return"; 
     read answer; 
     fi

rm qftar.lst
find qryflex/include -name "*.h"   -print >> qftar.lst 
find qryflex/unx -type f -print >> qftar.lst 
find qryflex/dos -type f -print >> qftar.lst 
find qryflex/dd -type f -print >> qftar.lst 
find qryflex/src/cfg -type f -print | grep -v '\.o$' >> qftar.lst 
find qryflex/src/lib -type f -print | grep -v '\.o$' >> qftar.lst 
find qryflex/src/misc -type f -print >> qftar.lst 
find qryflex/wps -type f -print >> qftar.lst 
find qryflex/demo -type f -print >> qftar.lst 

tar $TARLIST qryflex/qfsrc $TARLIST2 qftar.lst 

cd qryflex 
rm qfsrc.Z
compress qfsrc

cp unx/qfsetup .

if test "$1" = "-n"; then exit ; fi
if test "$1" = "-dir" 
    then
       cp qfsetup qfsrc.Z "$2"
       exit
    fi

tar cvf $TARDRIVE qfsetup qfsrc.Z
