[gspell] update-sourceregion.sh: small simplification



commit 2df2775c1d81009a3b545e0cfc4b29f58710cda9
Author: Sébastien Wilmet <swilmet informatique-libre be>
Date:   Tue Aug 16 16:00:00 2022 +0200

    update-sourceregion.sh: small simplification
    
    git.gnome.org has been replaced by gitlab.gnome.org, and GtkSourceView
    git master/main is now for GTK 4.
    
    So it's easier to just copy the required files locally, in the same
    directory, and run the script.

 gspell/update-sourceregion.sh | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)
---
diff --git a/gspell/update-sourceregion.sh b/gspell/update-sourceregion.sh
index 55597ec..57ee074 100755
--- a/gspell/update-sourceregion.sh
+++ b/gspell/update-sourceregion.sh
@@ -7,10 +7,8 @@
 # G_GNUC_INTERNAL should protect us, but it could be a no-op with
 # some compilers.
 
-GSVURL=https://git.gnome.org/browse/gtksourceview/plain/gtksourceview
-
 update_file () {
-    _source="${GSVURL}/$1"
+    _source="$1"
     _dest="$2"
 
     echo "/* Do not edit: this file is generated from ${_source} */" > "${_dest}"


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]