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:
@@ -1,6 +1,6 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
basedir=$(dirname $(readlink -f $0))
|
basedir=`pwd`
|
||||||
echo "Rebuilding Forked projects.... "
|
echo "Rebuilding Forked projects.... "
|
||||||
|
|
||||||
function applyPatch {
|
function applyPatch {
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
basedir=$(dirname $(readlink -f $0))
|
basedir=`pwd`
|
||||||
echo "Rebuilding patch files from current fork state..."
|
echo "Rebuilding patch files from current fork state..."
|
||||||
function cleanupPatches {
|
function cleanupPatches {
|
||||||
cd $1
|
cd $1
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
basedir=$(dirname $(readlink -f $0))
|
basedir=`pwd`
|
||||||
function update {
|
function update {
|
||||||
cd $basedir/$1
|
cd $basedir/$1
|
||||||
git fetch && git reset --hard origin/master
|
git fetch && git reset --hard origin/master
|
||||||
|
|||||||
Reference in New Issue
Block a user