Skip to content

Commit 58a4140

Browse files
committed
Whoops.
1 parent b0578ce commit 58a4140

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bin/dotfiles

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -270,8 +270,8 @@ if [[ ! -d $DOTFILES ]]; then
270270
elif [[ "$1" != "restart" ]]; then
271271
# Make sure we have the latest files.
272272
e_header "Updating dotfiles"
273-
prev_head="$(git rev-parse HEAD)"
274273
cd $DOTFILES
274+
prev_head="$(git rev-parse HEAD)"
275275
git pull
276276
git submodule update --init --recursive --quiet
277277
[[ "$(git rev-parse HEAD)" != "$prev_head" ]] && exec "$0" "restart"

0 commit comments

Comments
 (0)