]> err.no Git - dotfiles/commitdiff
push&pop
authortfheen <tfheen@8da78d58-1cd3-0310-bee5-d77bd1b3e8bf>
Thu, 12 Feb 2004 01:04:44 +0000 (01:04 +0000)
committertfheen <tfheen@8da78d58-1cd3-0310-bee5-d77bd1b3e8bf>
Thu, 12 Feb 2004 01:04:44 +0000 (01:04 +0000)
git-svn-id: file:///svn/tfheen/trunk/dotfiles@360 8da78d58-1cd3-0310-bee5-d77bd1b3e8bf

environment

index baef04e8adb792d1022b73dc4ec4f49e88426191..a7d2468c5d44f7af11f911dfae6ad2537bca9dc2 100644 (file)
@@ -11,6 +11,7 @@ if [ `uname -s` = "FreeBSD" ] && alias | grep -q "alias ls"; then
 fi
 
 blog () {
+    pushd $(pwd)
     if [ "$HOSTNAME" != "vawad.raw.no" ]; then
         echo "You are not on vawad!"
         return 1
@@ -32,6 +33,7 @@ blog () {
     $EDITOR $FILE
     svn add $FILE
     svn ci -m"Initial commit" $FILE
+    popd
 }
 
 apache2Release()