Fix check for 2nd arg for xCAT-OpenStack
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16797 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
parent
b10007be4b
commit
a007fb74c9
2
makerpm
2
makerpm
@ -34,7 +34,7 @@ function makenoarch {
|
||||
|
||||
# Make one of the following rpms: xCAT, xCATsn, xCAT-buildkit, xCAT-OpenStack
|
||||
function makexcat {
|
||||
if [ "$OSNAME" != "AIX" -a "$1" != "xCAT-buildkit" -a "$1" != "xCAT-OpenStack" -a -z "$2" ]; then
|
||||
if [ "$OSNAME" != "AIX" -a "$1" != "xCAT-buildkit" -a -z "$2" ]; then
|
||||
echo 'Usage: makerpm <RPMname> <arch> [<embedded-system>]'
|
||||
exit 1
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user