Chris Herrnberger wrote, On 07/17/2003 06:28 AM:
Was wondering is someone could look at this scipt and point out necessary changes to ammend it a suse file system. For example. NEWRPMS obviousely is not present. <snip>
;do files=$(ls SRPMS/$i*) if [ ! -f "$files" ]; then rpmbuild --define "_topdir `pwd`" \ --define "_rpmdir `pwd`/NEWRPMS" \ --define 'debug_package %{nil}' \ --clean -ba SPECS/$i.spec || exit 10; fi sudo rpm -Uvh NEWRPMS/i386/*.rpm --force && mv NEWRPMS/i386/*.rpm RPMS || :; done 2>&1 | tee compile.log #########################
I am not a script expert either, but I believe these rpm commands are your problem. I believe rpmbuild is a RH thing, suse uses rpm, but of the above, only --clean is mentioned as an argument in the build section of the man page, so I don't know what you would need to do to get SuSE's rpm to do the same. HTH. -- Joe Morris New Tribes Mission Email Address: Joe_Morris@ntm.org Web Address: http://www.mydestiny.net/~joe_morris Registered Linux user 231871 God said, I AM that I AM. I say, by the grace of God, I am what I am.