From 80fcaddfa43f447fb303aad79c8fb04fcc7390c0 Mon Sep 17 00:00:00 2001
From: Christopher Spinrath <christopher.spinrath@rwth-aachen.de>
Date: Sun, 19 Oct 2014 15:02:22 +0200
Subject: [PATCH] Bugfix: Missing -d option in tr call

---
 scripts/remaster_rootfs.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/scripts/remaster_rootfs.sh b/scripts/remaster_rootfs.sh
index cf637e3..b653c4c 100755
--- a/scripts/remaster_rootfs.sh
+++ b/scripts/remaster_rootfs.sh
@@ -121,7 +121,7 @@ function copy_modprobe_d()
 function hold_packages()
 {
 	for PKG in $@; do
-		echo "$(echo "$PKG" | tr "[:blank:]") hold" | dpkg --set-selections
+		echo "$(echo "$PKG" | tr -d "[:blank:]") hold" | dpkg --set-selections
 	done
 }
 
-- 
GitLab