mirror of
				https://github.com/xcat2/xcat-core.git
				synced 2025-11-04 13:22:36 +00:00 
			
		
		
		
	fix build of xCAT-UI in buildcore.sh for aix build
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4736 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
		@@ -41,7 +41,9 @@ for i in $*; do
 | 
			
		||||
	export $i
 | 
			
		||||
done
 | 
			
		||||
 | 
			
		||||
export HOME=/root		# This is so rpm and gpg will know home, even in sudo
 | 
			
		||||
if [ "$OSNAME" != "AIX" ]; then
 | 
			
		||||
	export HOME=/root		# This is so rpm and gpg will know home, even in sudo
 | 
			
		||||
fi
 | 
			
		||||
cd `dirname $0`
 | 
			
		||||
 | 
			
		||||
# Strip the /src/xcat-core from the end of the dir to get the next dir up and use as the release
 | 
			
		||||
@@ -136,7 +138,7 @@ if $GREP xCAT-UI $SVNUP; then
 | 
			
		||||
   rm -f $DESTDIR/xCAT-UI*
 | 
			
		||||
   rm -f $SRCDIR/xCAT-UI*
 | 
			
		||||
   ./makeuirpm
 | 
			
		||||
   mv $source/RPMS/$NOARCH/xCAT-UI-$VER*rpm $DESTDIR
 | 
			
		||||
   mv $source/RPMS/noarch/xCAT-UI-$VER*rpm $DESTDIR
 | 
			
		||||
   mv $source/SRPMS/xCAT-UI-$VER*rpm $SRCDIR
 | 
			
		||||
fi
 | 
			
		||||
if [ "$OSNAME" = "AIX" ]; then
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user