projects
/
dotfiles-framework.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
41b3be9
)
Add DOTFILES_* environment variable overrides for external utilities.
author
W. Trevor King
<wking@tremily.us>
Thu, 27 Sep 2012 13:45:49 +0000
(09:45 -0400)
committer
W. Trevor King
<wking@tremily.us>
Thu, 27 Sep 2012 13:45:49 +0000
(09:45 -0400)
dotfiles.sh
patch
|
blob
|
history
diff --git
a/dotfiles.sh
b/dotfiles.sh
index a1379a33d2d3859c6ce31f777d131e9f93e809c3..6a09bd05886b74db5f9bc4d092380a79efd5c70b 100755
(executable)
--- a/
dotfiles.sh
+++ b/
dotfiles.sh
@@
-26,17
+26,17
@@
CHECK_WGET_TYPE_AND_ENCODING='no'
#####
# External utilities
#####
# External utilities
-DIFF=$
(which diff)
-GIT=$
(which git)
-LN=$
(which ln)
-MV=$
(which mv)
-PATCH=$
(which patch)
-SED=$
(which sed)
-RM=$
(which rm)
-RSYNC=$
(which rsync)
-TAR=$
(which tar)
-TOUCH=$
(which touch)
-WGET=$
(which wget)
+DIFF=$
{DOTFILES_DIFF:-$(which diff)}
+GIT=$
{DOTFILES_GIT:-$(which git)}
+LN=$
{DOTFILES_LN:-$(which ln)}
+MV=$
{DOTFILES_MV:-$(which mv)}
+PATCH=$
{DOTFILES_PATCH:-$(which patch)}
+SED=$
{DOTFILES_SED:-$(which sed)}
+RM=$
{DOTFILES_RM:-$(which rm)}
+RSYNC=$
{DOTFILES_RSYNC:-$(which rsync)}
+TAR=$
{DOTFILES_TAR:-$(which tar)}
+TOUCH=$
{DOTFILES_TOUCH:-$(which touch)}
+WGET=$
{DOTFILES_WGET:-$(which wget)}
#####
# Compatibility checks
#####
# Compatibility checks