2 make -C debian/scripts sh.vars
3 . debian/scripts/sh.vars
6 mkdir -p $STAMP_DIR/upstream/tarballs/ $SOURCE_DIR
7 if [ ! -z "$SRC_TAR_DIR" -a -d "$SRC_TAR_DIR" ];then
8 files=$(find $SRC_TAR_DIR -type f|sort)
10 VER=$(dpkg-parsechangelog 2>&1|egrep ^Version|cut -d " " -f 2|cut -d "-" -f 1)
11 SRC=$(dpkg-parsechangelog 2>&1|egrep ^Source|cut -d " " -f 2-)
12 files=../${SRC}_${VER}.orig.tar.gz
15 stampfile=$STAMP_DIR/upstream/tarballs/`basename $f`
16 if [ ! -e $stampfile ];then
18 if extract_tar ${SOURCE_DIR:-.} $f > $stampfile.log;then
19 if [ x$SOURCE_DIR = x ];then
20 mkdir -p $STAMP_DIR/upstream/files/tarballs
21 cp $stampfile.log $STAMP_DIR/upstream/files/tarballs/`basename $f`.list