Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
16 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,16 @@ | ||
#! /bin/bash | ||
# mc | ||
# 2/27/2014 | ||
# | ||
# this script links my kicad footprint table file and environment variable definition script into the proper places | ||
# (for linux) | ||
# (will probably need to be run with sudo) | ||
# | ||
# mc | ||
# 2/27/2014 | ||
|
||
# edit these parameters according to your system | ||
TABLEDIR="$HOME" | ||
SCRIPTDIR="/etc/profile.d" | ||
|
||
# this'll do the rest | ||
THISDIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" | ||
ln -svi $THISDIR/fp-lib-table $HOME/fp-lib-table | ||
ln -svi $THISDIR/kicad.sh /etc/profile.d/kicad.sh | ||
ln -svi $THISDIR/fp-lib-table $TABLEDIR/fp-lib-table | ||
ln -svi $THISDIR/kicad.sh $SCRIPTDIR/kicad.sh |