gnuastro-commits
[Top][All Lists]
Advanced

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

[gnuastro-commits] master 3fcd49a 10/32: astscript-radial-profile: setti


From: Mohammad Akhlaghi
Subject: [gnuastro-commits] master 3fcd49a 10/32: astscript-radial-profile: setting name and version from the compilation
Date: Wed, 24 Feb 2021 22:36:16 -0500 (EST)

branch: master
commit 3fcd49a8b87e6029c044d1d092adf547f15a5963
Author: Raul Infante-Sainz <infantesainz@gmail.com>
Commit: Raul Infante-Sainz <infantesainz@gmail.com>

    astscript-radial-profile: setting name and version from the compilation
    
    Until this commit, the version number and the name of the script were
    set by hand (inside of the script). However, this does not allow to have
    an automatic upload of the version number when changing the version
    number of Gnuastro (because of other commits).
    
    With this commit, both parameters (version number and name of the
    script) are now filled in the compilation of the script.
---
 bin/script/radial-profile.in | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/bin/script/radial-profile.in b/bin/script/radial-profile.in
index 8a9bd08..1382613 100644
--- a/bin/script/radial-profile.in
+++ b/bin/script/radial-profile.in
@@ -49,9 +49,9 @@ i="radius"
 j="v"
 quiet=0
 prefix=./
-version=0.11
 output="default"
-scriptname=astscript-radial-profile
+version=@VERSION@
+scriptname=@SCRIPT_NAME@
 
 
 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]