gsell
cc6d88e79b
Resolve "lisbstd.bash: in function std::replace_path use empty string as default for 'replacestr'"
2024-07-16 10:10:04 +02:00
gsell
81eed3a716
libstd: function def_cmd added
2024-07-15 18:30:31 +02:00
gsell
b5f3618d9a
libstd: functions to search for executbales and shared obj added
2024-07-12 10:41:11 +02:00
gsell
b4d25fb0d6
libstd: function added to test membership in an array
2024-05-02 15:24:55 +02:00
gsell
a17340fbfb
cont. YAML config file implementation
2023-10-27 18:48:07 +02:00
gsell
7293da8053
use refernce variables instead of std::upvar()
2023-06-01 14:19:25 +02:00
gsell
1d6562bbd3
bugfix in std::remove_path()
2023-02-06 10:01:27 +01:00
gsell
34a3009120
changes from master merged
2022-10-27 15:07:18 +02:00
gsell
b7da791922
Springdale added as RHEL clone
2022-10-26 15:15:33 +02:00
gsell
a7c50a9459
cleanup, re-factoring, minor fixes, comments added
2022-07-12 16:21:21 +02:00
gsell
dca348c4e3
accessing unset variables fixed
2022-07-04 19:03:19 +02:00
gsell
27018d9be0
libstd.bash: redirect output of 'which lsb_release' to /dev/null
...
lsb_release might not be installed!
2022-06-13 10:14:36 +02:00
gsell
944c1ab558
libstd.bash: upvar replaced with reference variables
2022-05-24 11:17:12 +02:00
gsell
bd0efa648b
libstd.bash: use reference variable in std:prepend_path() not upvar
2022-05-24 10:13:19 +02:00
gsell
0d7607735b
libstd.bash: function std::parse_yaml added
2022-05-13 11:23:34 +02:00
gsell
9b0ddcce3d
libstd.bash: prepend_path(), remove_path() except multipe dirs now
2021-12-09 17:20:47 +01:00
gsell
9765a4c0ff
libstd.bash: std::split_path() added
2021-11-10 17:52:48 +01:00
gsell
a67b3cdf5f
better solution to define used commands implemented
2021-11-08 13:44:54 +01:00
gsell
6d53069bed
std::split_abs_path() renamed to std::split_abspath()
2021-11-08 12:25:25 +01:00
gsell
8112e8b6d4
std::split_fname(): reviewed and renamed to std::split_abs_path()
2021-11-08 12:20:17 +01:00
gsell
bdc9ddf8b5
std:split_fname(): changed arguments and leading slash handling
...
- a leading slash is now removed
- the filename is now passed as second argument, the number of
parts is returned in an optional third argument
2021-11-08 11:59:21 +01:00
gsell
4f625ed86b
libstd.bash: fix in std.get_os_release_linux() for current CentOS
2021-07-20 15:54:21 +02:00
gsell
183e7f40a2
libstd.bash: function to check Bash variable type added
2021-05-07 15:51:28 +02:00
gsell
aca3e2c8b5
libstd: unused std::upvars() removed
2021-04-19 15:05:26 +02:00
Achim Gsell
cea58bfc60
linefeeds in info messages fixed
2021-03-04 09:31:52 +01:00
gsell
f3921e3014
libstd.bash: get_abspath(): do not test whether the file is readable
2020-10-30 18:08:12 +01:00
gsell
a48990574c
Ubuntu support addded to std::get_os_release()
2020-10-27 09:36:17 +01:00
gsell
7df9fe7111
libstd.bash: list of possible OS ID's reviewed
2019-07-24 17:26:37 +02:00
gsell
c4a7c48dd9
libstd.bash: fix issue in getting OS release
...
- try to get the OS release via lsb_release first
- then via /etc/os-release
- abort if both fail
2019-07-24 16:51:20 +02:00
gsell
85fc352f10
libstd.bash: setting of unused variable OS removed
2019-07-23 17:48:11 +02:00
gsell
fb28efc834
function to get OS releases for Linux and macOS added to libstd
2019-07-19 17:01:15 +02:00
gsell
f446d4cae9
libstd.bash: fixes in append_path() and prepend_path()
...
- use export instead of eval
2019-05-13 16:42:27 +02:00
gsell
f05e9be3c1
cleanup initialisation
...
- Pmodules/bash: contains now only the 'module()' function, some sanity
checks and initialization of bash completion plus unsetting some unused
variables.
- Pmodules/libstd.bash: bug fixed in std::append_path if path includes spaces
- Pmodules/modulecmd.bash.in: (re-)initialize if 'PMODULES_ENV' is empty or
unset
2019-04-29 17:15:01 +02:00
gsell
b9c940600b
bugfix in std::log(): do not append newline to format.
2019-02-22 16:04:21 +01:00
gsell
43d85f96ab
Pmodules/libstd.bash
...
- std::upvar(), std::upvars() added
2017-08-08 14:09:04 +02:00
gsell
0457ac985c
Bootstrap:
...
- new command 'modbuild' to build modules
- separate bootstrapping from other build-blocks
- review BASH libraries
- adapt build-blocks in bootstrapping
2015-09-18 18:24:02 +02:00