10
0
mirror of https://github.com/LCPQ/quantum_package synced 2024-06-20 04:02:16 +02:00

touch only if executable

This commit is contained in:
Anthony Scemama 2015-12-08 12:23:03 +01:00
parent cdb7f35e48
commit e27a7ccec1

View File

@ -637,7 +637,7 @@ def ninja_binaries_rule():
# c m d #
# ~#~#~ #
l_cmd = ["cd $module_abs/IRPF90_temp", "ninja $out && touch $out"]
l_cmd = ["cd $module_abs/IRPF90_temp", "ninja $out && [[ -x $out ]] && touch $out"]
# ~#~#~#~#~#~ #
# s t r i n g #