From 7770bc789948b22502e5c57c184000876992625b Mon Sep 17 00:00:00 2001 From: "Enrico Weigelt, metux IT service" Date: Mon, 12 Jan 2009 20:58:50 +0100 Subject: [PATCH] fixed some bashisms in vfs/extfs/* --- vfs/extfs/uarj.in | 2 +- vfs/extfs/uha.in | 2 +- vfs/extfs/uzoo.in | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/vfs/extfs/uarj.in b/vfs/extfs/uarj.in index b7d01eb59..15549a026 100644 --- a/vfs/extfs/uarj.in +++ b/vfs/extfs/uarj.in @@ -16,7 +16,7 @@ ARJ="arj -+ -ja1" mcarjfs_list () { - $ARJ v "$1" | @AWK@ -v uuid=${UID-0} ' + $ARJ v "$1" | @AWK@ -v uuid=$(id -ru) ' { if (($0 ~ /^[0-9]+\) .*/)||($0 ~ /^------------ ---------- ---------- -----/)){ if (filestr ~ /^[0-9]+\) .*/) { diff --git a/vfs/extfs/uha.in b/vfs/extfs/uha.in index 181146417..9dd0016bc 100644 --- a/vfs/extfs/uha.in +++ b/vfs/extfs/uha.in @@ -10,7 +10,7 @@ HA=ha mchafs_list () { - $HA lf "$1" 2>/dev/null | @AWK@ -v uid=${UID-0} ' + $HA lf "$1" 2>/dev/null | @AWK@ -v uid=$(id -ru) ' /^===========/ {next} { if ($5="%" && $8~/DIR|ASC|HSC|CPY/) { diff --git a/vfs/extfs/uzoo.in b/vfs/extfs/uzoo.in index fb81ae39d..d85666977 100644 --- a/vfs/extfs/uzoo.in +++ b/vfs/extfs/uzoo.in @@ -23,7 +23,7 @@ mklink () mczoofs_list () { mklink "$1" - $ZOO lq "$ARCHIVE" | @AWK@ -v uid=${UID-0} ' + $ZOO lq "$ARCHIVE" | @AWK@ -v uid=$(id -ru) ' /^[^\ ]/ { next } { if (NF < 8)