1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-10 01:18:15 +03:00

fixing some packaging stuff for Solaris

(This used to be commit b0d3f40ffe)
This commit is contained in:
Gerald Carter 2003-08-22 16:53:17 +00:00
parent a1be0fbbb4
commit 75ac8c17c0
2 changed files with 6 additions and 10 deletions

View File

@ -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

View File

@ -8,13 +8,9 @@ if [ $# -ne 2 ]; then
exit 1
fi
for f in */*/*.tmpl; do
f2=`echo $f | sed s/.tmpl//g`
echo $f2
sed -e s/PVERSION/$VERSION/g -e s/PRELEASE/$RELEASE/g < $f > $f2
done
for f in */*.tmpl; do
f2=`echo $f | sed s/.tmpl//g`
echo $f2
sed -e s/PVERSION/$VERSION/g -e s/PRELEASE/$RELEASE/g < $f > $f2
for f in `du -a | awk '{print $2}' | grep \.tmpl$`; do
f2=`echo $f | sed s/.tmpl//g`
echo $f2
sed -e s/PVERSION/$VERSION/g -e s/PRELEASE/$RELEASE/g < $f > $f2
done