Line
Link Here
|
0 |
-- groff-1.18.1.1.orig/contrib/groffer/groffer.sh |
0 |
++ groff-1.18.1.1/contrib/groffer/groffer.sh |
Lines 3228-3244
Link Here
|
3228 |
do |
3228 |
do |
3229 |
if is_not_empty "$d"; then |
3229 |
if is_not_empty "$d"; then |
3230 |
if obj d is_dir && obj d is_writable; then |
3230 |
if obj d is_dir && obj d is_writable; then |
3231 |
_TMP_DIR="${d}/${_PROGRAM_NAME}${_PROCESS_ID}"; |
3231 |
_TMP_DIR="$(mktemp -d "${d}/${_PROGRAM_NAME}.XXXXXX")" |
3232 |
if obj _TMP_DIR is_dir; then |
3232 |
if test $? = 0; then |
3233 |
rm -f "${_TMP_DIR}"/*; |
|
|
3234 |
break; |
3233 |
break; |
3235 |
else |
3234 |
else |
3236 |
mkdir "${_TMP_DIR}"; |
3235 |
_TMP_DIR=''; |
3237 |
if obj _TMP_DIR is_not_dir; then |
3236 |
continue; |
3238 |
_TMP_DIR=''; |
|
|
3239 |
continue; |
3240 |
fi; |
3241 |
break; |
3242 |
fi; |
3237 |
fi; |
3243 |
fi; |
3238 |
fi; |
3244 |
if obj _TMP_DIR is_not_writable; then |
3239 |
if obj _TMP_DIR is_not_writable; then |