Follow us on Google+ Follow us on Facebook Follow us on Twitter

Changeset coastline,133


Ignore:
Timestamp:
2017-08-20T09:32:33Z (2 months ago)
Author:
Vojtech Horky <vojtechhorky@…>
branch-nick:
coastline
revision id:
vojtechhorky@users.sourceforge.net-20170820093233-dgj7o33cu087mxet
Message:

Fix reading from hsct.conf

Before the fix, getting configuration option from hsct.conf checked
for prefix only. Thus arch and archive were treated the same.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • coastline/hsct.sh

    r132 r133  
    167167# hsct_get_config CONFIG_FILE variable
    168168hsct_get_config() {
    169         grep '^[ \t]*'"$2" "$1" \
     169        grep '^[ \t]*'"$2"'[ \t]*=' "$1" \
    170170                | tail -n 1 \
    171171                | cut '-d=' -f 2 \
Note: See TracChangeset for help on using the changeset viewer.