Move portmaster binary to cmds/portmaster-core

This commit is contained in:
Patrick Pacher
2020-07-17 12:13:13 +02:00
parent 3428035dd4
commit cef2a4e9be
7 changed files with 21 additions and 14 deletions

22
pack
View File

@@ -5,12 +5,19 @@ cd "$baseDir"
# first check what will be built
function packAll() {
for i in ./cmds/* ; do
if [ -e $i/pack ]; then
$i/pack $1
fi
done
}
echo ""
echo "pack list:"
echo ""
./pmctl/pack check
./pack_core check
packAll check
# confirm
@@ -20,15 +27,8 @@ echo ""
# build
./pmctl/pack build
if [[ $? -ne 0 ]]; then
exit 1
fi
./pack_core build
if [[ $? -ne 0 ]]; then
exit 1
fi
set -e
packAll build
echo ""
echo "finished packing."