Skip to content

Commit

Permalink
scripts: - -> _
Browse files Browse the repository at this point in the history
  • Loading branch information
rroohhh committed Jun 10, 2020
1 parent bf0b64d commit 0fcb2ce
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions makefiles/in_chroot/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -57,12 +57,10 @@ for dir in $(ls -d software/sensor_tools/*/); do cdmake "$dir"; done
for dir in $(ls -d software/processing_tools/*/); do cdmake "$dir"; done

mkdir -p /usr/axiom/script/
for script in software/scripts/*.sh; do ln -sf $(pwd)/$script /usr/axiom/script/axiom-$(basename $script | sed "s/_/-/g"); chmod a+x $(pwd)/$script; done
for script in software/scripts/*.py; do ln -sf $(pwd)/$script /usr/axiom/script/axiom-$(basename $script | sed "s/_/-/g"); chmod a+x $(pwd)/$script; done
for script in software/scripts/*.sh software/scripts/*.py; do ln -sf $(pwd)/$script /usr/axiom/script/axiom_$(basename $script | sed "s/-/_/g"); chmod a+x $(pwd)/$script; done

mkdir -p /usr/axiom/bringup-script/
for script in software/bringup-scripts/*.sh; do ln -sf $(pwd)/$script /usr/axiom/bringup-script/axiom-$(basename $script | sed "s/_/-/g"); chmod a+x $(pwd)/$script; done
for script in software/bringup-scripts/*.py; do ln -sf $(pwd)/$script /usr/axiom/bringup-script/axiom-$(basename $script | sed "s/_/-/g"); chmod a+x $(pwd)/$script; done
for script in software/bringup-scripts/*.sh software/bringup-scripts/*.py; do ln -sf $(pwd)/$script /usr/axiom/bringup-script/axiom_$(basename $script | sed "s/-/_/g"); chmod a+x $(pwd)/$script; done

# TODO: find a better solution for this
echo 'PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/axiom/bin:/usr/axiom/script' >> /etc/environment
Expand Down

0 comments on commit 0fcb2ce

Please sign in to comment.