summaryrefslogtreecommitdiffhomepage
path: root/subr/post_copy_etc.subr
diff options
context:
space:
mode:
authorLucio Andrés Illanes Albornoz (arab, vxp) <l.illanes@gmx.de>2017-02-01 03:09:53 +0100
committerLucio Andrés Illanes Albornoz (arab, vxp) <l.illanes@gmx.de>2017-02-01 03:09:53 +0100
commit1548659e9cc2eeffbbd300791f228ae61524c280 (patch)
treeb5c8d203ecde6eba91a9ed33bd5f01323c00e472 /subr/post_copy_etc.subr
parent7fa1adbf79cd2757696a2e694f8ce7b935330fbf (diff)
downloadmidipix_build-1548659e9cc2eeffbbd300791f228ae61524c280.tar.bz2
midipix_build-1548659e9cc2eeffbbd300791f228ae61524c280.tar.xz
build.sh, subr/*: reorganised as subr/{check,mode,pkg,post}_*.subr.
Diffstat (limited to 'subr/post_copy_etc.subr')
-rw-r--r--subr/post_copy_etc.subr11
1 files changed, 11 insertions, 0 deletions
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