Lines Matching refs:SRCDIR
559 local SRCDIR="$1"
561 if [ ! -d "$SRCDIR" ] ; then
562 panic "Can't copy from non-directory: $SRCDIR"
564 log2 "Directory copy: $SRCDIR -> $DSTDIR"
565 mkdir -p "$DSTDIR" && (cd "$SRCDIR" && tar cf - *) | (tar xf - -C "$DSTDIR")
640 local SRCDIR="$2"
662 (cd $SRCDIR && run zip $ZIPFLAGS "$ARCHIVE" $SRCFILES)
665 (cd $SRCDIR && run tar $TARFLAGS "$ARCHIVE" $SRCFILES)
668 (cd $SRCDIR && run tar z$TARFLAGS "$ARCHIVE" $SRCFILES)
671 (cd $SRCDIR && run tar j$TARFLAGS "$ARCHIVE" $SRCFILES)