Permalink
Browse files

expand tilde

  • Loading branch information...
ddollar committed Jun 30, 2008
1 parent 4b59716 commit 6858c4be6d9a06defa48acf507e206cefaf824ac
Showing with 1 addition and 1 deletion.
  1. +1 −1 git-patch
View
@@ -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.