source: mainline/meson/part/initrd/install.sh.in

Last change on this file was 200b2113, checked in by Jiří Zárevúcky <zarevucky.jiri@…>, 6 years ago

Reorganize main meson.build script

I split most of it into separate subdirs, so that the overall organization
is easier to follow.

  • Property mode set to 100644
File size: 351 bytes
RevLine 
[a8ccc7e]1#!/bin/sh
2
[b2695b9]3if [ "$#" -ge 1 ]; then
[123cd6d]4 touch "$1"
5fi
6
7if [ "$#" -ge 2 ]; then
8 DESTDIR="$2"
[b2695b9]9else
10 DESTDIR="${MESON_INSTALL_DESTDIR_PREFIX}"
11fi
12
[fd6c8b1]13rm -rf "${DESTDIR}"
[2d75831]14
[123cd6d]15mkdir -p "${DESTDIR}cfg/"
16mkdir -p "${DESTDIR}data/"
17mkdir -p "${DESTDIR}loc/"
18mkdir -p "${DESTDIR}log/"
19mkdir -p "${DESTDIR}tmp/"
20mkdir -p "${DESTDIR}vol/"
21mkdir -p "${DESTDIR}w/"
22
[a8ccc7e]23@text@
Note: See TracBrowser for help on using the repository browser.