summaryrefslogtreecommitdiff
path: root/packaging/bin
diff options
context:
space:
mode:
authorGerald Carter <jerry@samba.org>2003-08-22 16:53:17 +0000
committerGerald Carter <jerry@samba.org>2003-08-22 16:53:17 +0000
commit75ac8c17c0e5d2624fc9db82d1b501f906cbfa39 (patch)
treed91dcd86541c145fddb9ff5135a5885b720fa624 /packaging/bin
parenta1be0fbbb4191cfd9ebc2eaab2f02bda02adf14b (diff)
downloadsamba-75ac8c17c0e5d2624fc9db82d1b501f906cbfa39.tar.gz
samba-75ac8c17c0e5d2624fc9db82d1b501f906cbfa39.tar.bz2
samba-75ac8c17c0e5d2624fc9db82d1b501f906cbfa39.zip
fixing some packaging stuff for Solaris
(This used to be commit b0d3f40ffe666f768f5ec0d93b84488148b5527e)
Diffstat (limited to 'packaging/bin')
-rwxr-xr-xpackaging/bin/update-pkginfo14
1 files changed, 5 insertions, 9 deletions
diff --git a/packaging/bin/update-pkginfo b/packaging/bin/update-pkginfo
index 8432173cc8..47f3c3c306 100755
--- a/packaging/bin/update-pkginfo
+++ b/packaging/bin/update-pkginfo
@@ -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
+