From 3d31d5f1124932e6b8ce20fcea9bc7a35dcc4ca0 Mon Sep 17 00:00:00 2001 From: lissav Date: Wed, 25 Sep 2013 08:07:16 -0400 Subject: [PATCH] defect 3800 --- xCAT-buildkit/bin/buildkit | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/xCAT-buildkit/bin/buildkit b/xCAT-buildkit/bin/buildkit index 245c296b6..5ded2c6ab 100755 --- a/xCAT-buildkit/bin/buildkit +++ b/xCAT-buildkit/bin/buildkit @@ -23,9 +23,6 @@ BEGIN if ($^O =~ /^aix/i) { print "ERROR - buildkit is not supported on AIX \n"; exit 1; -# if AIX - make sure we include perl 5.8.2 in INC path. -# Needed to find perl dependencies shipped in deps tarball. -# unshift(@INC, qw(/usr/opt/perl5/lib/5.8.2/aix-thread-multi /usr/opt/perl5/lib/5.8.2 /usr/opt/perl5/lib/site_perl/5.8.2/aix-thread-multi /usr/opt/perl5/lib/site_perl/5.8.2)); } use lib "$::XCATROOT/lib/perl"; @@ -582,6 +579,7 @@ sub kit_create } print "Kit template for $kitname created in $kitdir directory \n"; + return 0; } #----------------------------------------------------------------------------- @@ -644,7 +642,7 @@ sub kit_buildrepo if ( &kit_buildrepo1($kr->{kitrepoid}) ) { return 1; } } } - + return $rc; } #----------------------------------------------------------------------------- @@ -1030,7 +1028,7 @@ sub kit_cleantar print "Removed $::workdir/debbuild\n"; } } - return; + return 0; } #-----------------------------------------------------------------------------