Commit Graph

19 Commits

Author SHA1 Message Date
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