r2396 - jhalfs/branches/experimental/CLFS

Jeremy Huntwork jhuntwork at linuxfromscratch.org
Thu Mar 23 13:06:44 PST 2006


manuel at linuxfromscratch.org wrote:
> -    # Skipping scripts is done now so they are not included in the Makefile.
> -    case $this_script in
> -      *stripping*) continue  ;;
> -      *grub*)      continue  ;;
> -    esac
> -    #
> +    # Test if the stripping phase must be skipped
> +    if [ "$STRIP" = "0" ] && [[ `_IS_ ${this_script} stripping` ]] ; then
> +      continue
> +    fi
> +

I know we discussed this before once, but I would appreciate a reminder. 
Why do we use a custom function (and that much more overhead) for string 
comparison when the case built-ins would do the job just as well?

--
JH



More information about the alfs-log mailing list