Re: [PATCH 1/4] make sure we get the sparc64 kernel on sparc

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Dennis Gilmore (dennis@xxxxxxxx) said: 
> -elif [ "$BUILDARCH" = "sparcv9" -o "$BUILDARCH" = "sparc64" ]; then
> +elif [ "$BUILDARCH" = "sparc" -o "$BUILDARCH" = "sparcv9" -o "$BUILDARCH" = "sparc64" ]; then
>      arches="sparc64"

You could future-proof these by doing something like:

elif [[ "$BUILDARCH" =~ "^sparc" ]]; 

as long as you make sure the scripts are "#!/bin/bash" instead of
"#!/bin/sh".

Then again, I don't know if we'll ever need to add another sparc arch
conditional.

Bill

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/anaconda-devel-list

[Index of Archives]     [Kickstart]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]
  Powered by Linux