summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYuval Adam <yuval@y3xz.com>2014-12-23 13:20:21 +0100
committerYuval Adam <yuval@y3xz.com>2014-12-23 13:20:21 +0100
commit55b3a81ba28e52e8347f07ef1901c81b2cfaebfd (patch)
treedb74f383ec77730e86d9fcbebd58154f57b31090
parent6e707e03b63c1f49031716326362121192008a9a (diff)
Fix bad relative encrypt dir path
-rwxr-xr-xliveusb/build.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/liveusb/build.sh b/liveusb/build.sh
index 0c6022a..dbaa074 100755
--- a/liveusb/build.sh
+++ b/liveusb/build.sh
@@ -85,7 +85,7 @@ make_encrypted_device() {
mkdir -p ${work_dir}/airootfs/mnt/decrypted
mount /dev/mapper/cryptloop ${work_dir}/airootfs/mnt/decrypted
rmdir ${work_dir}/airootfs/mnt/decrypted/lost+found
- cp -a ${encrypt_dir}/* ${work_dir}/airootfs/mnt/decrypted
+ cp -a ${work_dir}/${encrypt_dir}/* ${work_dir}/airootfs/mnt/decrypted
# Cleanup
umount ${work_dir}/airootfs/mnt/decrypted