![]() ![]() | ![]() |
Fix mk-solaris-package script to produce a more descriptive filename
#!/usr/bin/bash PKG=CLDfreem ARCH=$1 VERS=$(cat sem.ver) SOLVER=$(uname -a | cut -d' ' -f3) PKGFILE=${PKG}-${VERS}-solaris${SOLVER}-${ARCH}.pkg cat <<EOF > pkginfo PKG=${PKG} NAME=Coherent Logic Development FreeM programming language and database. ARCH=${ARCH} VERSION=${VERS} CATEGORY=application BASEDIR=/usr/local EOF pkgmk -o -d /tmp -a ${ARCH} touch ${PKGFILE} pkgtrans -s /tmp ${PKGFILE} ${PKG} rm -r /tmp/${PKG}