https://bugzilla.novell.com/show_bug.cgi?id=460894
User bh-novell@mk-sys.cz added comment
https://bugzilla.novell.com/show_bug.cgi?id=460894#c8
Michal Kubeček changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEEDINFO |ASSIGNED
Info Provider|bh-novell@mk-sys.cz |
--- Comment #8 from Michal Kubeček 2009-01-28 20:44:34 MST ---
The problem is that once you do ROOTDIRS="$*", you cannot distinguish
create_md5sums a b # two directories: 'a' and 'b'
create_md5sums 'a b' # one direcotry: 'a b'
as ROOTDIRS contains 'a b' in both cases. The version named
/usr/bin/create_md5sums (lines starting with plus sign) in Comment #7 for
create_md5sums a b
tries to process directory 'a b' (as version in 11.1 does). Of course if the
script were not to process current directory when no directory provided, the
whole fragment could be simplified to
TMPFILE=$(mktemp /tmp/.create_md5sums.XXXXXX)
MYPWD=$(pwd)
for ROOTDIR in "$@"; do
case "$ROOTDIR" in
...
--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.