mirror of https://gerrit.osmocom.org/osmo-dev
ttcn3: prepare_local_bin: update respawn.sh path
Make logic to install the file simpler while at it, and allow it to create /usr/local/bin if it doesn't exist (I just had that). Change-Id: I497b9e8909a419f5b5286fcccce9d8a1ba9d515cchanges/95/24495/1
parent
710107a459
commit
7531cea612
|
@ -144,7 +144,7 @@ check_dir_testsuite() {
|
|||
# inside the docker container
|
||||
prepare_local_bin() {
|
||||
local scripts="
|
||||
${DIR_OSMODEV}/src/docker-playground/osmo-bts-master/respawn.sh
|
||||
${DIR_OSMODEV}/src/docker-playground/common/respawn.sh
|
||||
"
|
||||
|
||||
for script in $scripts; do
|
||||
|
@ -153,10 +153,7 @@ prepare_local_bin() {
|
|||
continue
|
||||
fi
|
||||
|
||||
set -x
|
||||
sudo cp "$script" "$script_path_localbin"
|
||||
sudo chmod +x /usr/local/bin/respawn.sh
|
||||
set +x
|
||||
install -v -Dm755 "$script" "$script_path_localbin"
|
||||
done
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue