https://bugzilla.novell.com/show_bug.cgi?id=460894
User lrupp@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=460894#c7
Lars Vogdt changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |NEEDINFO
Info Provider| |bh-novell@mk-sys.cz
--- Comment #7 from Lars Vogdt 2009-01-28 01:54:43 MST ---
Thanks! I really forgot the fix in the for-loop...
But one question is left on my side:
--- bug-460894_create_md5sums-4 2009-01-28 09:45:36.000000000 +0100
+++ /usr/bin/create_md5sums 2009-01-28 09:53:03.000000000 +0100
@@ -67,12 +67,11 @@
ROOTDIRS="$*"
TMPFILE=$(mktemp /tmp/.create_md5sums.XXXXXX)
MYPWD=$(pwd)
-ROOTDIRS=
-if [ $# -le 0 ]; then ROOTDIRS="$MYPWD"; fi
+test -z "$ROOTDIRS" && ROOTDIRS="$MYPWD"
for ROOTDIR in "${ROOTDIRS:-$@}" ; do
case "$ROOTDIR" in
/*) ;;
*) ROOTDIR="$MYPWD/$ROOTDIR" ;;
Whats the real different behind this two versions?
--
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.