diff options
author | md@Linux.IT <md@Linux.IT> | 2005-02-06 01:00:04 +0100 |
---|---|---|
committer | Greg KH <gregkh@suse.de> | 2005-04-26 23:24:20 -0700 |
commit | 0c50db890e838b6fa21708836af93ea736fc047d (patch) | |
tree | d1c8f1e680fc44d16a49876db188a868cb51794d /extras | |
parent | c7a84d7556531f93c7f47f2bd9c820418cdad5d9 (diff) |
[PATCH] cdsymlinks.sh: trivial fix, the variable is initialized to '', not 0
Diffstat (limited to 'extras')
-rw-r--r-- | extras/cdsymlinks.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/extras/cdsymlinks.sh b/extras/cdsymlinks.sh index e99be2e544..b2702e0063 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 |