From dc983f02c70b832b06aaf233b0dd4925f8a2a613 Mon Sep 17 00:00:00 2001 From: Benjamin Drung Date: Mon, 22 Sep 2014 14:32:52 +0200 Subject: [PATCH] Remove sbuild-post-build-copy-chroot-to-tmp (use sbuild --purge=successful instead) --- sbuild-post-build-copy-chroot-to-tmp | 11 ----------- 1 file changed, 11 deletions(-) delete mode 100755 sbuild-post-build-copy-chroot-to-tmp diff --git a/sbuild-post-build-copy-chroot-to-tmp b/sbuild-post-build-copy-chroot-to-tmp deleted file mode 100755 index ead9737..0000000 --- a/sbuild-post-build-copy-chroot-to-tmp +++ /dev/null @@ -1,11 +0,0 @@ -#!/bin/sh -set -eu - -chrootdir=$1 -if test ! -d "$chrootdir"; then - echo "$0: Given chroot directory '$chrootdir' does not exists or is no directory!" >&2 - exit 1 -fi - -echo "sudo rsync -a --exclude=/dev/ --exclude=/proc/ --exclude=/sys/ $chrootdir/ /tmp/$(basename $chrootdir)" -sudo rsync -a --exclude=/dev/ --exclude=proc/ --exclude=/sys/ $chrootdir/ /tmp/$(basename $chrootdir) -- 2.39.5