openrc/tools/meson_final.sh

14 lines
265 B
Bash
Raw Normal View History

#!/bin/sh
set -e
set -u
rc_libexecdir="$1"
os="$2"
if [ ${os} != Linux ]; then
install -d "${DESTDIR}/${rc_libexecdir}"/init.d
fi
install -d "${DESTDIR}/${rc_libexecdir}"/tmp
install -m 644 "${MESON_BUILD_ROOT}/src/shared/version" "${DESTDIR}/${rc_libexecdir}"