summaryrefslogtreecommitdiff
path: root/helpers
diff options
context:
space:
mode:
authorChris Lamb <chris@chris-lamb.co.uk>2008-09-07 13:49:11 +0100
committerDaniel Baumann <daniel@debian.org>2011-03-09 19:03:41 +0100
commit523899d26db1b586e07df736d6a9a2fb6111c625 (patch)
tree2820809be3ab422a7f38859963548dd11075b3fc /helpers
parent80bcf4d3b72b1b5f7e5f3a59699bf52462c0e84c (diff)
downloadlive-build-523899d26db1b586e07df736d6a9a2fb6111c625.zip
live-build-523899d26db1b586e07df736d6a9a2fb6111c625.tar.gz
Use cp's "-T" option instead of shell globbing to ensure dotfiles in the binary image's / are copied.
Diffstat (limited to 'helpers')
-rwxr-xr-xhelpers/lh_binary_usb-hdd2
1 files changed, 1 insertions, 1 deletions
diff --git a/helpers/lh_binary_usb-hdd b/helpers/lh_binary_usb-hdd
index 71a9927..0b4663d 100755
--- a/helpers/lh_binary_usb-hdd
+++ b/helpers/lh_binary_usb-hdd
@@ -195,7 +195,7 @@ esac
mkdir -p chroot/binary.tmp
${LH_ROOT_COMMAND} mount ${FREELO} chroot/binary.tmp
-cp -r ${CP_OPTIONS} binary/* chroot/binary.tmp
+cp -r -T ${CP_OPTIONS} binary/ chroot/binary.tmp
FIXME()
{