Skip to Content.
Sympa Menu

sm-commit - Re: [SM-Commit] GIT changes to master quill by Andraž Levstik (f25df048d6df96e344c359acecfe0e7919142a17)

sm-commit AT lists.ibiblio.org

Subject: Source Mage code commit list

List archive

Chronological Thread  
  • From: Jaka Kranjc <lynx AT mages.ath.cx>
  • To: sm-commit AT lists.ibiblio.org
  • Subject: Re: [SM-Commit] GIT changes to master quill by Andraž Levstik (f25df048d6df96e344c359acecfe0e7919142a17)
  • Date: Sun, 25 Feb 2007 18:20:42 +0100

On Sunday 25 of February 2007 18:15:54 Andraž Levstik wrote:
> #---
> ## @Synopsis Assign to SPELL_SRC_DIR the source dir inside a tarball,
> -## @return 0 if a tarball
> -## @return 1 if not a tarball.
> +## @return 0 if found supported fromat and suceeded
> +## @return 1 if failed
> +## @return 2 if unsupported format
> #---
> function hunt_src_dir(){
> - message "Checking what is in the tarball ..."
> - SPELL_SRC_DIR=$(tar tf "${QUILL_TMP_DIR}/${SPELL_SRC_FILE}" | grep / |
> sed -e "s=/.*$==g;q") - if [[ $? != 0 ]]; then
> - message "Not a tarball."
> - unset SPELL_SRC_DIR
> - return 1
> + local compressor
> + message "Checking for the source directory..."
> + compressor=$(guess_compressor ${QUILL_TMP_DIR}/${SPELL_SRC_FILE}
syntax error
> + case "$compresor" in


--
We cannot command nature except by obeying her. --Sir Francis Bacon
Have a sourcerous day! www.sourcemage.org

Attachment: pgpM7G26mskYb.pgp
Description: PGP signature




Archive powered by MHonArc 2.6.24.

Top of Page