2
0
mirror of https://github.com/xcat2/xcat-dep.git synced 2024-12-04 02:24:34 +00:00
xcat-dep/build.sh

13 lines
244 B
Bash
Raw Permalink Normal View History

2018-11-07 08:37:34 +00:00
#!/bin/bash
pkgname=$1
2018-11-08 03:17:19 +00:00
cur_path=$(dirname "$0")
2018-11-08 05:40:02 +00:00
if [ "$pkgname" ]; then
$cur_path/$pkgname/build.sh
2018-11-07 08:37:34 +00:00
exit $?
2018-11-08 05:40:02 +00:00
else
# TODO: if not specify, build all packages for xcat-dep
2018-11-07 08:37:34 +00:00
echo "Please specify package want to build"
exit 1
fi