mirror of
https://github.com/safing/portmaster
synced 2025-04-25 13:29:10 +00:00
35 lines
410 B
Bash
Executable file
35 lines
410 B
Bash
Executable file
#!/bin/bash
|
|
|
|
baseDir="$( cd "$(dirname "$0")" && pwd )"
|
|
cd "$baseDir"
|
|
|
|
# first check what will be built
|
|
|
|
echo ""
|
|
echo "pack list:"
|
|
echo ""
|
|
|
|
./pmctl/pack check
|
|
./pack_core check
|
|
|
|
# confirm
|
|
|
|
echo ""
|
|
read -p "press [Enter] to start packing" x
|
|
echo ""
|
|
|
|
# build
|
|
|
|
./pmctl/pack build
|
|
if [[ $? -ne 0 ]]; then
|
|
exit 1
|
|
fi
|
|
|
|
./pack_core build
|
|
if [[ $? -ne 0 ]]; then
|
|
exit 1
|
|
fi
|
|
|
|
echo ""
|
|
echo "finished packing."
|
|
echo ""
|