Version number mismatch in slackbuilds script.
by stf92 from LinuxQuestions.org on (#50TA1)
Hi: I've downloaded sources and script for the application nted from slackbuilds dot org. The following are the filenames:
Code:nted.tar.gz
nted_1.10.18-12.debian.tar.xz 24K
nted_1.10.18.orig.tar.gz 4.0MNow, in the script I have the following line:Code:VERSION=${VERSION:-1.10.18_12}As you can see the version string in the script does not match any of the strings in the filenames. Notice the mismatch between the hyphen and the underscore (18-12 and 18_12). In which of the two source files should the version number match the version number in the script? I think the script should match the number in the second file listed and I have to replace the underscore in the script by a hyphen. What do you think?


Code:nted.tar.gz
nted_1.10.18-12.debian.tar.xz 24K
nted_1.10.18.orig.tar.gz 4.0MNow, in the script I have the following line:Code:VERSION=${VERSION:-1.10.18_12}As you can see the version string in the script does not match any of the strings in the filenames. Notice the mismatch between the hyphen and the underscore (18-12 and 18_12). In which of the two source files should the version number match the version number in the script? I think the script should match the number in the second file listed and I have to replace the underscore in the script by a hyphen. What do you think?