aboutsummaryrefslogtreecommitdiff
path: root/scripts/prepend
diff options
context:
space:
mode:
authorKimplul <kimi.h.kuparinen@gmail.com>2021-08-19 22:58:57 +0300
committerKimplul <kimi.h.kuparinen@gmail.com>2021-08-19 22:58:57 +0300
commit1175179058fa809c57d724cd2043c67edc511695 (patch)
treefd01aba45ff6e4c676bac5c369b8f4983163c800 /scripts/prepend
parent565724db3b73ee67fa996dab511dc52df586cee1 (diff)
downloadkmi-1175179058fa809c57d724cd2043c67edc511695.tar.gz
kmi-1175179058fa809c57d724cd2043c67edc511695.zip
New build system (WIP)
Diffstat (limited to 'scripts/prepend')
-rwxr-xr-xscripts/prepend11
1 files changed, 11 insertions, 0 deletions
diff --git a/scripts/prepend b/scripts/prepend
new file mode 100755
index 0000000..ef10da1
--- /dev/null
+++ b/scripts/prepend
@@ -0,0 +1,11 @@
+#!/bin/sh
+
+prep="$1"
+shift
+
+for n in "$@"
+do
+ ret="$ret $prep$n"
+done
+
+echo "$ret"