From 52c08c841ab534f32e8ea489b0668421826987d6 Mon Sep 17 00:00:00 2001 From: Oxore Date: Thu, 30 Jun 2022 12:07:35 +0300 Subject: Use /bin/bash, fix string comparison --- 2-unpack.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to '2-unpack.sh') 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 -- cgit v1.2.3