[Git][debian-gis-team/gmtsar][master] Escape shell variables in d/rules

Antonio Valentino (@antonio.valentino) gitlab at salsa.debian.org
Sat May 25 15:51:31 BST 2024



Antonio Valentino pushed to branch master at Debian GIS Project / gmtsar


Commits:
4c00d14a by Antonio Valentino at 2024-05-25T14:45:47+00:00
Escape shell variables in d/rules

- - - - -


1 changed file:

- debian/rules


Changes:

=====================================
debian/rules
=====================================
@@ -41,9 +41,9 @@ execute_before_dh_auto_install:
 	# mkdir -p debian/tmp/usr/share/gmtsar/orbits
 
 execute_after_dh_auto_install:
-	sed -i 's:set ORBITS = "/usr/share/gmtsar/orbits":set ORBITS = "${HOME}/.gmtsar/orbits":g' \
+	sed -i 's:set ORBITS = "/usr/share/gmtsar/orbits":set ORBITS = "$${HOME}/.gmtsar/orbits":g' \
 		debian/tmp/usr/bin/ENVI_pre_process
-	sed -i 's:set ORBITS = "/usr/share/gmtsar/orbits":set ORBITS = "${HOME}/.gmtsar/orbits":g' \
+	sed -i 's:set ORBITS = "/usr/share/gmtsar/orbits":set ORBITS = "$${HOME}/.gmtsar/orbits":g' \
 		debian/tmp/usr/bin/ERS_pre_process
-	sed -i 's:set ORBITS = "/usr/share/gmtsar/orbits":set ORBITS = "${HOME}/.gmtsar/orbits":g' \
+	sed -i 's:set ORBITS = "/usr/share/gmtsar/orbits":set ORBITS = "$${HOME}/.gmtsar/orbits":g' \
 		debian/tmp/usr/bin/ENVI_SLC_pre_process



View it on GitLab: https://salsa.debian.org/debian-gis-team/gmtsar/-/commit/4c00d14acfa09ddc8976fcc57a8e4bf9660c6d7b

-- 
This project does not include diff previews in email notifications.
View it on GitLab: https://salsa.debian.org/debian-gis-team/gmtsar/-/commit/4c00d14acfa09ddc8976fcc57a8e4bf9660c6d7b
You're receiving this email because of your account on salsa.debian.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-grass-devel/attachments/20240525/dafbcce9/attachment-0001.htm>


More information about the Pkg-grass-devel mailing list