Skip to content

Commit

Permalink
again compatibility with bash
Browse files Browse the repository at this point in the history
  • Loading branch information
davidhalter committed Sep 4, 2013
1 parent 5f7b3f5 commit 6ca03ec
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
4 changes: 2 additions & 2 deletions .bashrc.local
Expand Up @@ -22,11 +22,11 @@ alias ll='ls -alF'
alias la='ls -A'
alias l='ls -CF'

if test $(type -p gnome-terminal) != '' ; then
if test "$(type -p gnome-terminal)" == '' ; then
alias terminal='gnome-terminal &'
fi

if test $(type -p vim) != '' ; then
if test "$(type -p vim)" != '' ; then
alias vi='vim -p'
fi

Expand Down
5 changes: 2 additions & 3 deletions install.sh
Expand Up @@ -46,10 +46,9 @@ else
echo $bashrc_include >> $bashrc
fi

if test $(type -p git) == '' ; then
if test "$(type -p git)" == '' ; then
echo 'Git not available, cannot install sub repositories properly.'
else
git submodule init
git submodule update --recursive
git submodule update --init --recursive
fi
fi

0 comments on commit 6ca03ec

Please sign in to comment.