mirror of
https://github.com/samba-team/samba.git
synced 2025-01-25 06:04:04 +03:00
fixing some packaging stuff for Solaris
(This used to be commit b0d3f40ffe666f768f5ec0d93b84488148b5527e)
This commit is contained in:
parent
a1be0fbbb4
commit
75ac8c17c0
@ -144,7 +144,7 @@ if [ -f prototype ]; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
# Setup version from version.h
|
# 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|__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
|
sed -e "s|__BASEDIR__|$INSTALL_BASE|g" inetd.conf.master >inetd.conf
|
@ -8,13 +8,9 @@ if [ $# -ne 2 ]; then
|
|||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
for f in */*/*.tmpl; do
|
for f in `du -a | awk '{print $2}' | grep \.tmpl$`; do
|
||||||
f2=`echo $f | sed s/.tmpl//g`
|
f2=`echo $f | sed s/.tmpl//g`
|
||||||
echo $f2
|
echo $f2
|
||||||
sed -e s/PVERSION/$VERSION/g -e s/PRELEASE/$RELEASE/g < $f > $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
|
|
||||||
done
|
done
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user