Debian Codegraph @

lib/get-config-dir-file

raw
1 #!/bin/bash
2
3 ### BEGIN SUBROUTINE INFO
4 # Provides-Var:
5 # Requires-Var: $FAI_CONFIG_SRC
6 # Suggests-Var:
7 # Short-Description: get $FAI by local path
8 ### END SUBROUTINE INFO
9
10 localpath=$(expr match "$FAI_CONFIG_SRC" '.*://\(/.*\)')
11 echo "Using local path $localpath as config space."