mbox

Fix the backup iso script once again.

Message ID 1483462146-638-1-git-send-email-jonatan.schlag@ipfire.org
State Accepted
Commit b1b6e9f396efca5552df649d04a12bdbd1c4acb5
Headers

Message

Jonatan Schlag Jan. 4, 2017, 3:49 a.m. UTC
  In commit 391560854f64ad2385adb3ff25dbbcec0ff92668 was an error in the
case statement. On i?586 the check fails. Removing the "" fixes the
error.

Signed-off-by: Jonatan Schlag <jonatan.schlag@ipfire.org>
---
 src/scripts/backupiso | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
  

Comments

Michael Tremer Jan. 4, 2017, 10:28 p.m. UTC | #1
Thank you. Merged.

On Tue, 2017-01-03 at 17:49 +0100, Jonatan Schlag wrote:
> In commit 391560854f64ad2385adb3ff25dbbcec0ff92668 was an error in the
> case statement. On i?586 the check fails. Removing the "" fixes the
> error.
> 
> Signed-off-by: Jonatan Schlag <jonatan.schlag@ipfire.org>
> ---
>  src/scripts/backupiso | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/src/scripts/backupiso b/src/scripts/backupiso
> index 1a682d0..1799bc1 100644
> --- a/src/scripts/backupiso
> +++ b/src/scripts/backupiso
> @@ -2,11 +2,11 @@
>  arch=$(uname -m)
>  
>  case $arch in
> -	"i?86")
> +	i?86)
>  		arch="i586"
>  		echo "Your arch is $arch"
>  		;;
> -	"x86_64")
> +	x86_64)
>  		arch="x86_64"
>  		echo "Your arch is $arch"
>  		;;