~tsimonq2/debian-cd/lubuntu-cosmic-changes

« back to all changes in this revision

Viewing changes to build_all.sh

  • Committer: Colin Watson
  • Date: 2006-03-23 09:09:19 UTC
  • Revision ID: Arch-1:colin.watson@canonical.com--2005%debian-cd--ubuntu--0--patch-289
fix subarchitecture calculation

Show diffs side-by-side

added added

removed removed

Lines of Context:
14
14
for FULLARCH in $ARCHES
15
15
do
16
16
        export ARCH="${FULLARCH%%+*}"
17
 
        export SUBARCH="${FULLARCH#*+}"
 
17
        if [ "$ARCH" = "$FULLARCH" ]; then
 
18
                export SUBARCH=
 
19
        else
 
20
                export SUBARCH="${FULLARCH#*+}"
 
21
        fi
18
22
        echo "Now we're going to build CD for $FULLARCH !"
19
23
        if type find-mirror >/dev/null 2>&1; then
20
24
                # TODO: nasty upcall to cdimage wrapper scripts