summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xbin/mkrc9
1 files changed, 1 insertions, 8 deletions
diff --git a/bin/mkrc b/bin/mkrc
index dd1f46e..5de894c 100755
--- a/bin/mkrc
+++ b/bin/mkrc
@@ -16,13 +16,6 @@ destination() {
fi
}
-install_dotfile() {
- prior_wd=`pwd`
- cd $1
- $INSTALL -t ${3:--} $2
- cd $prior_wd
-}
-
if [ -e $HOME/.rcrc ]; then
. $HOME/.rcrc
fi
@@ -75,5 +68,5 @@ for file in $files; do
dest=`destination $DOTFILES_DIR $dotless $tag`
mkdir -p $dest/`dirname $dotless`
$MV $file $dest/$dotless
- install_dotfile $DOTFILES_DIR $dotless $tag
+ $INSTALL -d $DOTFILES_DIR -t ${tag:--} $dotless
done