From 0c50db890e838b6fa21708836af93ea736fc047d Mon Sep 17 00:00:00 2001 From: "md@Linux.IT" Date: Sun, 6 Feb 2005 01:00:04 +0100 Subject: [PATCH] [PATCH] cdsymlinks.sh: trivial fix, the variable is initialized to '', not 0 --- extras/cdsymlinks.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/extras/cdsymlinks.sh b/extras/cdsymlinks.sh index e99be2e5..b2702e00 100644 --- a/extras/cdsymlinks.sh +++ b/extras/cdsymlinks.sh @@ -159,7 +159,7 @@ output () { COUNT=$(($COUNT+1)) done # If the target dev ($1) is the current dev ($i), we output its name. - if test $(($NUMBERED_LINKS)) -ne 0 || test "$COUNT" -eq 0; then + if test $(($NUMBERED_LINKS)) -ne 0 || test "$COUNT" = ''; then test "$i" = "$1" && echo -n " $2$COUNT" fi # If the link isn't in our "existing links" list, add it and increment -- 2.39.5