Skip to content

Commit

Permalink
setup-environemnt: complete home initialization
Browse files Browse the repository at this point in the history
  • Loading branch information
MaEtUgR committed Nov 3, 2018
1 parent 18af574 commit 858badd
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 10 deletions.
7 changes: 0 additions & 7 deletions home/.bash_profile

This file was deleted.

8 changes: 5 additions & 3 deletions toolchain/setup-environment-variables.bat
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,6 @@ IF "%1" == "" (
REM this is the PX4 directory which is one layer above this script
SET PX4_DIR=%~dp0..

REM home directory for the unix environment
SET HOME=%PX4_DIR%\home

REM path to Cygwin Unix Environment
SET PATH=%PX4_DIR%\toolchain\cygwin64\bin
REM path to GCC for ARM Compiler
Expand All @@ -23,3 +20,8 @@ REM path to Apache Ant, a Java build tool
SET PATH=%PATH%;%PX4_DIR%\toolchain\apache-ant\bin
REM path to genromfs
SET PATH=%PATH%;%PX4_DIR%\toolchain\genromfs\

REM home directory for the unix environment
SET HOME=%PX4_DIR%\home
REM also set it for cygwin in general to make ssh happy
CALL bash -c "sed -i '/db_home:/c\db_home: '$HOME /etc/nsswitch.conf"

0 comments on commit 858badd

Please sign in to comment.