[BACK]Return to import CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / src / share / terminfo

Annotation of src/share/terminfo/import, Revision 1.1

1.1     ! christos    1: #!/bin/sh
        !             2: # $NetBSD$
        !             3: #
        !             4: # Simple shell script to import the newest version of terminfo
        !             5: # Download it from ftp://ftp.invisible-island.net/ncurses/current
        !             6:
        !             7: input=$1
        !             8: case "${input}" in
        !             9: terminfo-[0-9]*.src)
        !            10:        ;;
        !            11: *)
        !            12:        echo "$0: Invalid input file name" 1>&2
        !            13:        exit 1
        !            14:        ;;
        !            15: esac
        !            16:
        !            17: tag=${input%%.src}
        !            18: vendor=NCURSES
        !            19:
        !            20: TMP=$(mktemp -d /tmp/import-terminfo)
        !            21: trap rm -fr "${TMP}" 0 1 2 15
        !            22:
        !            23: cp "$1" "${TMP}/terminfo"
        !            24: cd "${TMP}"
        !            25: cleantags terminfo
        !            26: cvs -d cvs.netbsd.org:/cvsroot import \
        !            27:        -m "Import $1" src/share/terminfo "${vendor}" "${tag}"

CVSweb <webmaster@jp.NetBSD.org>