aboutsummaryrefslogtreecommitdiff
path: root/basic.sh
diff options
context:
space:
mode:
Diffstat (limited to 'basic.sh')
-rw-r--r--basic.sh10
1 files changed, 9 insertions, 1 deletions
diff --git a/basic.sh b/basic.sh
index 65b44e5..6e90dbc 100644
--- a/basic.sh
+++ b/basic.sh
@@ -1,5 +1,13 @@
#!/bin/bash
+typeset -a langs
+langs=(
+ fra-deu deu-fra
+ deu-eng eng-deu
+ fra-eng eng-fra
+ spa-eng eng-spa
+ )
+
function init
{
tmp_d="$(mktemp -d)"
@@ -9,7 +17,7 @@ function init
function cleanup
{
- rm -r "$tmp_d"
+ rm -rf "$tmp_d"
}
trap cleanup EXIT