diff options
author | John Terpstra <jht@samba.org> | 1999-02-27 21:08:26 +0000 |
---|---|---|
committer | John Terpstra <jht@samba.org> | 1999-02-27 21:08:26 +0000 |
commit | eaf09346ac39a037b21578d455e42713ab35e769 (patch) | |
tree | a7f250e0651ef6b84219c105dc27b2d8b6f263c5 /packaging | |
parent | 9b94add55f78ef3a1f6f7bf5990d2f3cc6b235f2 (diff) | |
download | samba-eaf09346ac39a037b21578d455e42713ab35e769.tar.gz |
Modified how we set uid/gid
Diffstat (limited to 'packaging')
-rw-r--r-- | packaging/PHT/TurboLinux/makerpms.sh.tmpl | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/packaging/PHT/TurboLinux/makerpms.sh.tmpl b/packaging/PHT/TurboLinux/makerpms.sh.tmpl index 8c0c191e7bd..2bfe1bc1a51 100644 --- a/packaging/PHT/TurboLinux/makerpms.sh.tmpl +++ b/packaging/PHT/TurboLinux/makerpms.sh.tmpl @@ -4,8 +4,10 @@ RPMDIR=`rpm --showrc | awk '/^rpmdir/ { print $3}'` SPECDIR=`rpm --showrc | awk '/^specdir/ { print $3}'` SRCDIR=`rpm --showrc | awk '/^sourcedir/ { print $3}'` +USERID=`id -u` +GRPID=`id -g` -( cd ../../../.. ; chown -R root.root ${SRCDIR}/samba-PVERSION ) +( cd ../../../.. ; chown -R ${USERID}.${GRPID} ${SRCDIR}/samba-PVERSION ) ( cd ../../../.. ; tar czvf ${SRCDIR}/samba-PVERSION.tar.gz samba-PVERSION ) cp -a *.spec $SPECDIR cp -a *.patch smb.* samba.log $SRCDIR |