Skip to content
Browse files

expand tilde

  • Loading branch information...
1 parent 4b59716 commit 6858c4be6d9a06defa48acf507e206cefaf824ac @ddollar committed Jun 30, 2008
Showing with 1 addition and 1 deletion.
  1. +1 −1 git-patch
View
2 git-patch
@@ -3,7 +3,7 @@
CURRENT_BRANCH=$(git branch &>/dev/null; if [ $? -eq 0 ]; then echo "$(git branch | grep '^*' |sed s/\*\ //)"; fi)
CURRENT_DIR=$(basename $(pwd))
-PATCH_DIR="~/Documents/Patches/${CURRENT_DIR}"
+PATCH_DIR="${HOME}/Documents/Patches/${CURRENT_DIR}"
mkdir -p ${PATCH_DIR}

0 comments on commit 6858c4b

Please sign in to comment.
Something went wrong with that request. Please try again.