libXau:moved to "simplified /usr"
[nyanlinux.git] / pkg-rt
blob1fdc3952dba86ec0cf117efc3bc7a4c0ac51ae76
1 #!/bin/sh
2 if test -z "$1"; then
3 echo Missing package path to install runtime
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 . ./runtimes/$1/rt.sh "$@"
19 rmdir $(realpath $builds_dir_root)
20 rmdir $(realpath $pkgs_dir_root)