Commit 248f5b22 authored by Thanassis Tsiodras's avatar Thanassis Tsiodras
Browse files

Using 'cp -u' is dangerous - what if the user edited locally?

parent 0ff22669
......@@ -14,7 +14,7 @@ cp ./MSC-Antlr3/bin/taste-extract-asn-from-design.exe ${PREFIX}/share/asn1scc/ |
cd $DIR/../misc/AutoGUI || exit 1
TARGET=${PREFIX}/share/AutoGUI/
mkdir -p ${TARGET}
cp -u * ${TARGET}
cp -a * ${TARGET}
# Update the path
PATH_CMD='export PATH=$PATH:$HOME/.local/bin'
......
......@@ -4,7 +4,7 @@ DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
# Setup the tools in ${PREFIX}/bin
cd $DIR/../qemu-Leon3 || exit 1
cp -u qemu-Leon3/qemu-Leon3*.sh ${PREFIX}/bin/
cp -a qemu-Leon3/qemu-Leon3*.sh ${PREFIX}/bin/
# Add Leon simulators to PATH
PATH_CMD='export PATH=$PATH:'"${PREFIX}/bin"
......
......@@ -6,7 +6,7 @@ DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
cd ${DIR}
for i in checkStackUsage.py patchAPLCs.py taste-orchestrator.py
do
cp -u ../orchestrator/orchestrator/$i ${PREFIX}/bin/
cp -a ../orchestrator/orchestrator/$i ${PREFIX}/bin/
done
# Install a symlink for the old name of the build tool
......
......@@ -31,7 +31,7 @@ for i in DataView.aadl DataView.asn export_PeekPoke.aadl taste_probe.zip ; do \
done
# Helper scripts
cp -u helper-scripts/* ${PREFIX}/bin/
cp -a helper-scripts/* ${PREFIX}/bin/
# Ellidiss - point the PATH to the repo
REAL_ELLIDISS=$(realpath "${DIR}/../ellidiss-GUI/TASTE-linux/bin")
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment