Displaying 2 results from an estimated 2 matches for "file_date".
Did you mean:
file_data
2009 Jun 26
0
RPM python subroutine for (epoch, version, release) comparation?
Hi, all,
?
?On Centos 5 I am programming RPM with python recently. ?When I read the online RPM python programming guide at http://docs.fedoraproject.org/drafts/rpm-guide-en/ch16s05.html, I got confused at the EVR() function as the function returns the (epoch, version, release) as a string ?%epoch-%version-%release?, and so the RPM ?comparing process is simplified as string comparing ? which
2009 Nov 26
2
quote warning not being triggered (yet again)
...not find ${DIR_MAILDIR_TMP}" && exit 1
# set misc values
HOSTNAME="`${BIN_HOSTNAME}`"
# set mail value
MAIL_DATE="`${BIN_DATE} '+%a, %d %b %Y %T %z (%Z)'`"
MAIL_MESSAGE_ID="`${BIN_DATE} '+%Y%m%d%H%M%S'`@${HOSTNAME}"
# set filename values
FILE_DATE="`${BIN_DATE} '+%s'`"
FILE_NAME="${FILE_DATE}.$$.${HOSTNAME}"
FILE_TMP="${DIR_MAILDIR_TMP}/${FILE_NAME}"
# write out message
${BIN_CAT} << EOF > ${FILE_TMP}
To: ${MAIL_TO}
From: ${MAIL_FROM}
Subject: ${MAIL_SUBJECT}
Message-Id: <${MAIL_MESSAGE_ID}&...