Prevent nesting of devstack directories
Fix a comment typo
Change-Id: I8704c1a6d4c91d2e51a38b7aadc29d56d5eedd95
diff --git a/stack.sh b/stack.sh
index c7c5293..e125b9a 100755
--- a/stack.sh
+++ b/stack.sh
@@ -118,7 +118,7 @@
echo "Copying files to stack user"
STACK_DIR="$DEST/${PWD##*/}"
- cp -r -f "$PWD" "$STACK_DIR"
+ cp -r -f -T "$PWD" "$STACK_DIR"
chown -R stack "$STACK_DIR"
if [[ "$SHELL_AFTER_RUN" != "no" ]]; then
exec su -c "set -e; cd $STACK_DIR; bash stack.sh; bash" stack
@@ -398,8 +398,8 @@
# - We are parsing the packages files and detecting metadatas.
# - If there is a NOPRIME as comment mean we are not doing the install
# just yet.
-# - If we have the meta-keyword distro:DISTRO or
-# distro:DISTRO1,DISTRO2 it will be installed only for those
+# - If we have the meta-keyword dist:DISTRO or
+# dist:DISTRO1,DISTRO2 it will be installed only for those
# distros (case insensitive).
function get_packages() {
local file_to_parse="general"