From 1435d5d605f074b0fa7ebf12284e70626ea055f9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Igor=20Pe=C4=8Dovnik?= Date: Fri, 18 Dec 2015 11:30:21 +0100 Subject: [PATCH] Bugfix. It works properly if we use quotes. --- debootstrap.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/debootstrap.sh b/debootstrap.sh index 467b69638d..c330286a26 100644 --- a/debootstrap.sh +++ b/debootstrap.sh @@ -184,8 +184,8 @@ KILLPROC=$(ps -uax | pgrep ntpd | tail -1); if [ -n "$KILLPROC" ]; then k KILLPROC=$(ps -uax | pgrep dbus-daemon | tail -1); if [ -n "$KILLPROC" ]; then kill -9 $KILLPROC; fi display_alert "Closing debootstrap process and preparing cache." "" "info" -tar cpf - --directory=$DEST/cache/sdcard/ --exclude=dev/* --exclude=proc/* --exclude=run/* --exclude=tmp/* \ ---exclude=mnt/* --exclude=sys/* . | pigz > $DEST/cache/rootfs/$RELEASE.tgz +tar cpf - --directory=$DEST/cache/sdcard/ --exclude='dev' --exclude='proc/*' --exclude='run/*' --exclude='tmp/*' \ +--exclude='mnt/*' --exclude='sys/*' . | pigz > $DEST/cache/rootfs/$RELEASE.tgz fi # # mount proc, sys and dev