diff options
Diffstat (limited to 'scripts/vendor.sh')
-rw-r--r-- | scripts/vendor.sh | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/scripts/vendor.sh b/scripts/vendor.sh new file mode 100644 index 0000000..1344814 --- /dev/null +++ b/scripts/vendor.sh @@ -0,0 +1,18 @@ +#!/bin/bash + +run_vendor() +{ + +local LOCALDIR="${2-$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)}" +local BASE="${LOCALDIR%scripts}" # input + +rm -rf "$BASE"/output/{de,en,eo,fr}/vendor/ + +echo "$BASE"output/{de,en,eo,fr} | xargs -n 1 cp -rf "$BASE"/output/vendor + +} + +# ============================================================================== +# EXECUTION - START +# ============================================================================== +run_vendor "$@" |