Switch to pwd so the scripts can work more reliably on other OSs

By: md_5 <md_5@live.com.au>
This commit is contained in:
Spigot 2013-01-21 20:24:30 +11:00
parent d14bfbaa67
commit 0d3f1faa0d
3 changed files with 3 additions and 3 deletions

View File

@ -1,6 +1,6 @@
#!/bin/bash
basedir=$(dirname $(readlink -f $0))
basedir=`pwd`
echo "Rebuilding Forked projects.... "
function applyPatch {

View File

@ -1,6 +1,6 @@
#!/bin/bash
basedir=$(dirname $(readlink -f $0))
basedir=`pwd`
echo "Rebuilding patch files from current fork state..."
function cleanupPatches {
cd $1

View File

@ -1,5 +1,5 @@
#!/bin/bash
basedir=$(dirname $(readlink -f $0))
basedir=`pwd`
function update {
cd $basedir/$1
git fetch && git reset --hard origin/master