diff options
| author | Oxore <oxore@protonmail.com> | 2022-06-30 12:07:35 +0300 |
|---|---|---|
| committer | Oxore <oxore@protonmail.com> | 2022-06-30 12:07:35 +0300 |
| commit | 52c08c841ab534f32e8ea489b0668421826987d6 (patch) | |
| tree | 70bc727483800fa284509a22dbb4fa16679a5b1d /2-unpack.sh | |
| parent | f53cca086dece774d099a5ef9186e5b77c726429 (diff) | |
Use /bin/bash, fix string comparison
Diffstat (limited to '2-unpack.sh')
| -rw-r--r-- | 2-unpack.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/2-unpack.sh b/2-unpack.sh index 8f66bd4..f4ccf23 100644 --- a/2-unpack.sh +++ b/2-unpack.sh @@ -1,8 +1,8 @@ -#!/bin/sh +#!/bin/bash source ./common set -e -function unpack() { +unpack() { if [ ! -d unpacked/$1 ]; then echo Unpacking $1.$2 tar xf download/$1.$2 -C unpacked |
