summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJaromil <jaromil@dyne.org>2009-08-31 13:23:34 (GMT)
committer Jaromil <jaromil@dyne.org>2009-08-31 13:23:34 (GMT)
commit66cb1f4937112e40b01f3eb779b4142b23e8c898 (patch)
tree5020660e735f3b1d395aa1c87d375345ba4a881f
parent67dda110bbb490d9bde7b002794deb02b05f5dd1 (diff)
correct check_sw
-rwxr-xr-xdyneII/devel/dynesdk6
1 files changed, 3 insertions, 3 deletions
diff --git a/dyneII/devel/dynesdk b/dyneII/devel/dynesdk
index ece54cb..e64031d 100755
--- a/dyneII/devel/dynesdk
+++ b/dyneII/devel/dynesdk
@@ -137,7 +137,7 @@ check_sw() {
CHECK_SW="`which $1`"
if [ -z $CHECK_SW ]; then
error "$1 not found"
- RET=0
+ RET=-1
else
func "$1 found in $CHECK_SW"
RET=$CHECK_SW
@@ -145,7 +145,7 @@ check_sw() {
}
check_sw git
-if [ $? = 0 ]; then
+if [ $? = -1 ]; then
error "GIT is not found on the system"
error "you need the devel.dyne module"
error "freely available on ftp.dyne.org/dynebolic"
@@ -214,7 +214,7 @@ mksdk() {
act "checking out skeleton, please wait while downloading"
if [ -x git ]; then
cd git;
- git stash; git pull --rebase; git stash apply
+ git pull --rebase
cd -;
else
git clone git://code.dyne.org/dynebolic.git git