Fix: permissions are already set on compile scripts

parent 40609548
......@@ -4,6 +4,5 @@ baseDir=$(readlink -f `dirname $0`/../../..)
for f in `find $baseDir/target/generated-sources-cmake/ -name compile.sh`
do
chmod +x $f
bash -H $f
done
#!/bin/bash
set -e
chmod +x ./target/generated-sources-ros2/distributed/compile.sh
chmod +x ./target/generated-sources-ros2/distributedStruct/compile.sh
chmod +x ./target/generated-sources-ros2/system/compile.sh
chmod +x ./target/generated-sources-ros2/addComp/compile.sh
./target/generated-sources-ros2/distributed/compile.sh
#./target/generated-sources-ros2/distributed/compile.sh
#TODO: struct compilation
#./target/generated-sources-ros2/distributedStruct/compile.sh
#./target/generated-sources-ros2/system/compile.sh
./target/generated-sources-ros2/addComp/compile.sh
./target/generated-sources-ros2/system/compile.sh
#./target/generated-sources-ros2/addComp/compile.sh
Markdown is supported
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