fixing some packaging stuff for Solaris
[ira/wip.git] / packaging / Solaris / makepkg.sh.tmpl
similarity index 98%
rename from packaging/Solaris/makepkg.sh
rename to packaging/Solaris/makepkg.sh.tmpl
index 8423a1a9b49bb0a5e1aca4a587ff5643ed3db54a..55a2da2c6a093f88143a2badebcf08b2d6397513 100755 (executable)
@@ -144,7 +144,7 @@ if [ -f prototype ]; then
 fi
 
 # Setup version from version.h
-VERSION=`sed 's/#define VERSION \"\(.*\)\"$/\1/' ../../source/include/version.h`
+VERSION=PVERSION
 sed -e "s|__VERSION__|$VERSION|" -e "s|__ARCH__|`uname -p`|" -e "s|__BASEDIR__|$INSTALL_BASE|g" pkginfo.master >pkginfo
 
 sed -e "s|__BASEDIR__|$INSTALL_BASE|g" inetd.conf.master >inetd.conf