diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2024-01-12 15:32:02 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2024-01-12 15:32:02 -0300 |
commit | 0ae351570d583f5db86c4c5b124d21a49fdd48ef (patch) | |
tree | 0d761ad5c6a4b69b3ef2c85ce84dcf0dbae26f8d | |
parent | 6d8b37b027ff67972a96d1ac6f3408fa71ff9bad (diff) | |
download | trashman-0ae351570d583f5db86c4c5b124d21a49fdd48ef.tar.gz trashman-0ae351570d583f5db86c4c5b124d21a49fdd48ef.tar.bz2 |
Fix: trashman: spotx: ensure git origin is the right one (2)
-rwxr-xr-x | share/trashman/spotx/unix/linux/install | 6 |
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 |