summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNik Lutz <nik@netstyle.ch>2016-04-19 13:19:51 +0000
committerDaniel Baumann <daniel.baumann@open-infrastructure.net>2016-05-18 18:26:04 +0000
commit859c4a52cfb34a4f501ec55e49c6a6968da1c18e (patch)
tree1ec3e0e68fd3c382cb8ad39e3844352ca7b8265e
parentReleasing version 20160501. (diff)
downloadcompute-tools-859c4a52cfb34a4f501ec55e49c6a6968da1c18e.tar.xz
compute-tools-859c4a52cfb34a4f501ec55e49c6a6968da1c18e.zip
Fixing path argument of chmod for .container-command script in the debconf script.
Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
-rwxr-xr-xshare/scripts/debconf2
1 files changed, 1 insertions, 1 deletions
diff --git a/share/scripts/debconf b/share/scripts/debconf
index cbde345..28e95fd 100755
--- a/share/scripts/debconf
+++ b/share/scripts/debconf
@@ -702,7 +702,7 @@ EOF
then
echo "${CONTAINER_COMMAND}" > "${DIRECTORY}/.container-command"
- chmod 0755 "sh /.container-command"
+ chmod 0755 "${DIRECTORY}/.container-command"
Chroot "${DIRECTORY}" "sh /.container-command"
rm -f "${DIRECTORY}/.container-command"