summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYuval Adam <yuval@y3xz.com>2014-12-23 14:27:21 +0100
committerYuval Adam <yuval@y3xz.com>2014-12-23 14:27:21 +0100
commitc6c36bacdc09625e696cdd3ac758a1d09dff1084 (patch)
tree71256bc56e92af13ca0a4abd600d2c69ed7dcb59
parentf86d83cbd1d8ace0bf4fdc9702c7f7de613e6e2b (diff)
Actual fix for 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..3a1dca9 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 ${script_path}/${encrypt_dir}/* ${work_dir}/airootfs/mnt/decrypted
# Cleanup
umount ${work_dir}/airootfs/mnt/decrypted