https://bugzilla.novell.com/show_bug.cgi?id=439899
User jrecord@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=439899#c1
Jason Record changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution| |FIXED
--- Comment #1 from Jason Record 2008-10-29 10:45:55 MDT ---
Fix checked in.
Index: trunk/scripts/supportconfig
===================================================================
--- trunk/scripts/supportconfig (revision 108)
+++ trunk/scripts/supportconfig (revision 109)
@@ -1,7 +1,7 @@
#!/bin/bash
-SVER=2.25-51
-SDATE="2008 10 24"
+SVER=2.25-52
+SDATE="2008 10 29"
##############################################################################
# supportconfig - Gathers system troubleshooting information for NTS.
@@ -3268,6 +3268,7 @@
VAR_OPTION_LOG_DIRS=$TARGET_DIRECTORY
fi
+# Ensures files uploaded to a novell.com address have unique file names
if (( UPLOAD_TARBALL )); then
TONOVELL=$(echo $VAR_OPTION_UPLOAD_TARGET | grep -i "novell.com")
[ -n "$TONOVELL" ] && VAR_OPTION_UNIQUE_FILE=1
@@ -3284,6 +3285,18 @@
for LOG in $VAR_OPTION_LOG_DIRS
do
+ # If a full path was not assigned, the cwd will be prepended to the LOG
path
+ VALID_LOG=$(echo $LOG | grep '^/')
+ if [ -z "$VALID_LOG" ]; then
+ VALID_LOG=$(echo $LOG | grep '^\./')
+ CURRENT_PATH="$(pwd)"
+ if [ -n "$VALID_LOG" ]; then
+ LOG="${CURRENT_PATH}/${LOG:2}"
+ else
+ LOG="${CURRENT_PATH}/${LOG}"
+ fi
+ fi
+ # Create the paths
LOG=${LOG}/${BASE}
[ $USE_SAVED_LOGS_ONLY -eq 0 ] && check_log_dir
if mkdir -p $LOG &>/dev/null; then
--
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.