diff options
Diffstat (limited to 'scite/prep-for-updating.sh')
-rwxr-xr-x | scite/prep-for-updating.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scite/prep-for-updating.sh b/scite/prep-for-updating.sh index 27d29e2..b020cdf 100755 --- a/scite/prep-for-updating.sh +++ b/scite/prep-for-updating.sh @@ -3,7 +3,7 @@ # Purpose: prepare # Dependencies: # rmadison, git, awk, wget, tar -cd ~/dev/scite.salsa || { cd ~/dev ; git clone https://salsa.debian.org/debian/scite.git scite.salsa ; cd ~/dev/scite.salsa ; } ; git pull +cd ~/dev/salsa/scite || { mkdir -p ~/dev/salsa; cd ~/dev/salsa ; git clone https://salsa.debian.org/debian/scite.git scite ; cd ~/dev/salsa/scite ; } ; git pull # get latest scite source version, without character period latest="$( rmadison --url debian --suite sid scite | awk -F'|' '{print $2}' | awk -F'-' '{print $1}' | xargs )" latest_no_period="$( echo "${latest}" | tr -d '.' )" |