[med-svn] [Git][med-team/ncbi-igblast][master] 2 commits: Check if directory before cd'ing.

Andrius Merkys (@merkys) gitlab at salsa.debian.org
Wed Mar 5 10:53:40 GMT 2025



Andrius Merkys pushed to branch master at Debian Med / ncbi-igblast


Commits:
ed5814e3 by Andrius Merkys at 2025-03-04T17:35:16+02:00
Check if directory before cd'ing.

- - - - -
3de90b71 by Andrius Merkys at 2025-03-05T10:06:44+02:00
Subdirectory internal_data/ has to stay for igblast to find its files without patching.

- - - - -


2 changed files:

- debian/igblast.install
- debian/rules


Changes:

=====================================
debian/igblast.install
=====================================
@@ -1,3 +1,3 @@
 c++/GCC*/bin/igblast*                   usr/bin
 c++/src/app/igblast/edit_imgt_file.pl	usr/bin
-c++/src/app/igblast/internal_data/*	usr/share/ncbi/igblast
+c++/src/app/igblast/internal_data	usr/share/ncbi/igblast


=====================================
debian/rules
=====================================
@@ -35,7 +35,7 @@ override_dh_clean:
 	#or there may be none but then there is still a module named after the
 	#directory.  Clean everything!
 	-for x in c++/src/objects/* ; do \
-	    (cd "$$x"  && ( \
+	    (test -d "$$x" && cd "$$x" && ( \
 		mods="`echo *.module`" ; \
 		[ "$${mods#*\*}" = "$$mods" ] || mods="`basename $$x`" ; \
 		for mod in $$mods ; do \



View it on GitLab: https://salsa.debian.org/med-team/ncbi-igblast/-/compare/727b720e6ef15b7a7a06fe352f57b3abd980b449...3de90b715f037436cc4899ef9167298bbd00539d

-- 
View it on GitLab: https://salsa.debian.org/med-team/ncbi-igblast/-/compare/727b720e6ef15b7a7a06fe352f57b3abd980b449...3de90b715f037436cc4899ef9167298bbd00539d
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/20250305/ac96ba34/attachment-0001.htm>


More information about the debian-med-commit mailing list