feat(bash): var TMPDIR
This commit is contained in:
parent
c336a24cae
commit
4c04649e21
@ -34,3 +34,10 @@ fi
|
||||
if [ -d "$HOME/.go" ] ; then
|
||||
export GOPATH="$HOME/.go"
|
||||
fi
|
||||
|
||||
for TMPDIR in "$TMPDIR" "$TMP" /tmp /var/tmp
|
||||
do
|
||||
test -d "$TMPDIR" && break
|
||||
done
|
||||
|
||||
export TMPDIR
|
||||
|
||||
9
install
9
install
@ -3,13 +3,10 @@
|
||||
set -ueo pipefail
|
||||
shopt -s nullglob
|
||||
|
||||
declare TARGET_PATH DOTFILES_ROOT SUB
|
||||
declare -r TARGET_PATH="$HOME"
|
||||
declare -r DOTFILES_ROOT="$PWD"
|
||||
declare -r SUB="$DOTFILES_ROOT/home/user"
|
||||
|
||||
TARGET_PATH="$HOME"
|
||||
DOTFILES_ROOT="$(pwd)"
|
||||
SUB="$DOTFILES_ROOT/home/user"
|
||||
|
||||
readonly TARGET_PATH DOTFILES_ROOT SUB
|
||||
export SUB
|
||||
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user