aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xshare/trashman/spotx/unix/linux/install6
1 files changed, 3 insertions, 3 deletions
diff --git a/share/trashman/spotx/unix/linux/install b/share/trashman/spotx/unix/linux/install
index 879c317..2756049 100755
--- a/share/trashman/spotx/unix/linux/install
+++ b/share/trashman/spotx/unix/linux/install
@@ -20,9 +20,9 @@ fi
#git -C /usr/local/src/spotx pull
# Checkout an specific version
-git remote rm origin
-git remote add origin $REPO
-git fetch origin
+git -C /usr/local/src/spotx remote rm origin
+git -C /usr/local/src/spotx remote add origin $REPO
+git -C /usr/local/src/spotx fetch origin
git -C /usr/local/src/spotx checkout $COMMIT || exit 1
# Install