From 0a9e55870106ae5e841ebcf1d51659f9eb8b2382 Mon Sep 17 00:00:00 2001
From: Jindrich Makovicka <makovick@gmail.com>
Date: Tue, 5 Jul 2011 17:13:21 +0200
Subject: [PATCH] extfs: fix more bashisms
---
src/vfs/extfs/helpers/iso9660.in | 2 +-
src/vfs/extfs/helpers/uace.in | 2 +-
src/vfs/extfs/helpers/uarc.in | 2 +-
src/vfs/extfs/helpers/uc1541.in | 2 +-
4 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/vfs/extfs/helpers/iso9660.in b/src/vfs/extfs/helpers/iso9660.in
index c78c829..296ac54 100644
a
|
b
|
BEGIN { |
78 | 78 | } |
79 | 79 | |
80 | 80 | mcisofs_copyout () { |
81 | | if [ "x$SEMICOLON" == "xYES" ]; then |
| 81 | if [ "x$SEMICOLON" = "xYES" ]; then |
82 | 82 | $ISOINFO -i "$1" -x "/$2;1" 2>/dev/null > "$3" |
83 | 83 | else |
84 | 84 | $ISOINFO -i "$1" -x "/$2" 2>/dev/null > "$3" |
diff --git a/src/vfs/extfs/helpers/uace.in b/src/vfs/extfs/helpers/uace.in
index 062d82f..d245774 100644
a
|
b
|
ACE_GET="unace x" |
22 | 22 | # ls: |
23 | 23 | mc_ace_fs_list() |
24 | 24 | { |
25 | | $ACE_LIST "$1" | gawk -v uid=${UID-0} ' |
| 25 | $ACE_LIST "$1" | gawk -v uid=$(id -ru) ' |
26 | 26 | BEGIN { Month="JanFebMarAprMayJunJulAugSepOctNovDec" } |
27 | 27 | /%/ { |
28 | 28 | split($1,date,".") |
diff --git a/src/vfs/extfs/helpers/uarc.in b/src/vfs/extfs/helpers/uarc.in
index 3f71277..aa7468e 100644
a
|
b
|
ARC_DEL="arc d" |
19 | 19 | |
20 | 20 | mc_arc_fs_list() |
21 | 21 | { |
22 | | $ARC_LIST "$1" | gawk -v uid=${UID-0} ' |
| 22 | $ARC_LIST "$1" | gawk -v uid=$(id -ru) ' |
23 | 23 | BEGIN { } |
24 | 24 | /^Name/ { next } |
25 | 25 | /===/ { next } |
diff --git a/src/vfs/extfs/helpers/uc1541.in b/src/vfs/extfs/helpers/uc1541.in
index fed3301..4f8fc67 100644
a
|
b
|
C1541="c1541" |
20 | 20 | # There are no time stamps in the disk image, so a bogus timestamp is displayed |
21 | 21 | mc_c1541_fs_list() |
22 | 22 | { |
23 | | $C1541 "$1" -list | gawk -v uid=${UID-0} ' |
| 23 | $C1541 "$1" -list | gawk -v uid=$(id -ru) ' |
24 | 24 | BEGIN { FS = "\"" } |
25 | 25 | /No LINES!/ { next } |
26 | 26 | /BLOCKS FREE/ { next } |