mudev:update and moved some new shared runtime handling
[nyanlinux.git] / pkg-build
blob1c3d79b5204e96a3ea2fbb9b13a8f1cde350469e
1 #!/bin/sh
2 if test -z "$1"; then
3 echo Missing package path to build
4 exit 1
5 fi
7 nyan_root=$(realpath $(dirname "$0"))
8 . ./conf.sh
9 mkdir -p $builds_dir_root
10 mkdir -p $pkgs_dir_root
12 pkg_name=$(basename $1)
13 pkg_path=$(dirname $1)
15 umask 022
17 . ./builders/$1/builder.sh "$@"
19 rmdir $(realpath $builds_dir_root)
20 rmdir $(realpath $pkgs_dir_root)