nut/scripts/Solaris/makelocal.sh

12 lines
438 B
Bash
Raw Permalink Normal View History

2013-11-24 15:00:12 +00:00
#!/bin/sh
2022-06-29 10:37:36 +00:00
# Creates the package file from current-directory contents
# Called by Makefile starting from installed prototype directory
echo "Making Solaris SVR4 package metadata..." && \
pkgmk -o -d "`pwd`" && \
echo "Making Solaris SVR4 package archive file..." && \
( yes "" | pkgtrans "`pwd`" "`pwd`/NUT_solaris_package.local" ) && \
echo "Compressing Solaris SVR4 package archive file..." && \
gzip "`pwd`/NUT_solaris_package.local"