From 1548659e9cc2eeffbbd300791f228ae61524c280 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lucio=20Andr=C3=A9s=20Illanes=20Albornoz=20=28arab=2C=20vx?= =?UTF-8?q?p=29?= Date: Wed, 1 Feb 2017 03:09:53 +0100 Subject: build.sh, subr/*: reorganised as subr/{check,mode,pkg,post}_*.subr. --- subr/post_copy_etc.subr | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 subr/post_copy_etc.subr (limited to 'subr/post_copy_etc.subr') diff --git a/subr/post_copy_etc.subr b/subr/post_copy_etc.subr new file mode 100644 index 00000000..fe48521b --- /dev/null +++ b/subr/post_copy_etc.subr @@ -0,0 +1,11 @@ +# +# . ./build.vars and set -o errexit -o noglob are assumed. +# + +post_copy_etc() { + tar -C etc -cpf - midipix.sh README midipix_shortcut.vbs |\ + tar -C ${PREFIX} -xpf -; + chmod +x ${PREFIX}/midipix.sh; +}; + +# vim:filetype=sh -- cgit v1.2.3