Skip to Content.
Sympa Menu

sm-commit - Re: [SM-Commit] GIT changes to test cauldron by Justin Boffemmyer (daf66412138785db43ef5df6f55443d97a432e03)

sm-commit AT lists.ibiblio.org

Subject: Source Mage code commit list

List archive

Chronological Thread  
  • From: Jaka Kranjc <smgl AT lynxlynx.info>
  • To: sm-commit AT lists.ibiblio.org
  • Subject: Re: [SM-Commit] GIT changes to test cauldron by Justin Boffemmyer (daf66412138785db43ef5df6f55443d97a432e03)
  • Date: Tue, 14 Oct 2008 10:27:18 +0200

On Tuesday 14 of October 2008 04:59:52 Justin Boffemmyer wrote:
> scripts/mkiso.sh: simpler compress option handling
>
> Simplified the handling of the compress option by using true and false
> instead of string values.
>
> diff --git a/scripts/mkiso.sh b/scripts/mkiso.sh
> index 4e6e95f..455572d 100755
> --- a/scripts/mkiso.sh
> +++ b/scripts/mkiso.sh
> @@ -1,6 +1,6 @@
> #!/bin/bash
>
> -COMPRESS="no"
> +COMPRESS=false
> ISOCHOWN=false
> KEEP=
>
> @@ -62,7 +62,7 @@ ISO_VERSION=$2
> -if [[ "$COMPRESS" == yes || -n "$KEEP" ]]
> +if [[ $COMPRESS || -n $KEEP ]]
> then
Unless COMPRESS is unset somewhere too, this check will always be true.
Strings evaluate to true.

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

Attachment: signature.asc
Description: This is a digitally signed message part.




Archive powered by MHonArc 2.6.24.

Top of Page