Make sure we're in the right directory before running scansources
This commit is contained in:
parent
f27ced66c0
commit
c5fe08e47c
|
@ -56,8 +56,8 @@ export VERBOSE BASEDIR SECTS
|
||||||
|
|
||||||
INFO1="Debian GNU/Linux $VER Update CD $DATE: Alpha, Arm, HPPA, I386, IA64, M68k and Source"
|
INFO1="Debian GNU/Linux $VER Update CD $DATE: Alpha, Arm, HPPA, I386, IA64, M68k and Source"
|
||||||
INFO2="Debian GNU/Linux $VER Update CD $DATE: Mips, Mipsel, Powerpc, S390, Sparc and Source"
|
INFO2="Debian GNU/Linux $VER Update CD $DATE: Mips, Mipsel, Powerpc, S390, Sparc and Source"
|
||||||
ARCH1="alpha arm hppa i386 ia64 m68k src all"
|
ARCH1="src all alpha arm hppa i386 ia64 m68k"
|
||||||
ARCH2="mips mipsel powerpc s390 sparc src all"
|
ARCH2="src all mips mipsel powerpc s390 sparc"
|
||||||
|
|
||||||
export TDIR NONFREE NONUS VER MIRROR CODENAME OUT BASEDIR
|
export TDIR NONFREE NONUS VER MIRROR CODENAME OUT BASEDIR
|
||||||
|
|
||||||
|
@ -130,7 +130,7 @@ create_control_files () {
|
||||||
mkdir -p $CDDIR/dists/$CODENAME/$SECT/source
|
mkdir -p $CDDIR/dists/$CODENAME/$SECT/source
|
||||||
mkdir -p $CDDIR/dists/$CODENAME/non-US/$SECT/source
|
mkdir -p $CDDIR/dists/$CODENAME/non-US/$SECT/source
|
||||||
done
|
done
|
||||||
cd $CDDIR
|
cd $UPD
|
||||||
$scansources $CDDIR >/dev/null 2>&1
|
$scansources $CDDIR >/dev/null 2>&1
|
||||||
;;
|
;;
|
||||||
all)
|
all)
|
||||||
|
|
Loading…
Reference in New Issue