safing-portmaster/pack
2019-03-13 10:47:49 +01:00

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 ""