diff --git a/applyPatches.sh b/applyPatches.sh index b7055aa22..838d16a80 100755 --- a/applyPatches.sh +++ b/applyPatches.sh @@ -1,6 +1,6 @@ #!/bin/bash -basedir=$(dirname $(readlink -f $0)) +basedir=`pwd` echo "Rebuilding Forked projects.... " function applyPatch { diff --git a/rebuildPatches.sh b/rebuildPatches.sh index d400ce10c..d9f9399fe 100755 --- a/rebuildPatches.sh +++ b/rebuildPatches.sh @@ -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 diff --git a/upstreamMerge.sh b/upstreamMerge.sh index 642527c95..c472ae680 100755 --- a/upstreamMerge.sh +++ b/upstreamMerge.sh @@ -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