[med-svn] [Git][med-team/community/package_template][master] Enable calling via relative dir

Andreas Tille gitlab at salsa.debian.org
Sun Apr 5 21:40:54 BST 2020



Andreas Tille pushed to branch master at Debian Med / community / package_template


Commits:
3131acdf by Andreas Tille at 2020-03-30T16:27:19+02:00
Enable calling via relative dir

- - - - -


1 changed file:

- personalise_template


Changes:

=====================================
personalise_template
=====================================
@@ -34,9 +34,8 @@ fi
 # FIXME: Check whether a package with this source name exists on salsa!
 
 CURDIR=$(pwd)
-cd "$PKG"
-cp -av $(dirname "$0")/debian .
-cd debian
+cp -av $(dirname "$0")/debian "$PKG"
+cd "$PKG"/debian
 sed -i "s/<your_ID>/${DEBFULLNAME} <${DEBEMAIL}>/" $(find . -maxdepth 1 -type f)
 sed -i "s/<pkg>/$PKG/" $(find . -maxdepth 1 -type f)
 CHDATE=$(date -R)



View it on GitLab: https://salsa.debian.org/med-team/community/package_template/-/commit/3131acdf42f74861c8f23a369e86ee0a626b5c6a

-- 
View it on GitLab: https://salsa.debian.org/med-team/community/package_template/-/commit/3131acdf42f74861c8f23a369e86ee0a626b5c6a
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/debian-med-commit/attachments/20200405/57687593/attachment.html>


More information about the debian-med-commit mailing list