mirror of
https://github.com/xcat2/xcat-dep.git
synced 2024-11-25 02:50:10 +00:00
12 lines
232 B
Bash
12 lines
232 B
Bash
|
#!/bin/bash
|
||
|
|
||
|
pkgname=$1
|
||
|
cur_path=$(cd "$(dirname "$0")"; pwd)
|
||
|
if [ "$pkgname" = "ipmitool" ]; then
|
||
|
$cur_path/ipmitool/build.sh
|
||
|
exit $?
|
||
|
elif [ -z $pkgname ]; then
|
||
|
echo "Please specify package want to build"
|
||
|
exit 1
|
||
|
fi
|