diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/cmd.sh | 4 | ||||
-rw-r--r-- | src/pro-archman.sh | 4 |
2 files changed, 4 insertions, 4 deletions
@@ -31,7 +31,7 @@ load_cmds() for cmd in ${PKGLIBCMD}; do cmd="${cmd##*/}" - cmd="${cmd%.sm}" + cmd="${cmd%.sho}" cmds="${cmds}${cmd}${LF}" use "cmd/${cmd}" done @@ -76,7 +76,7 @@ print_cmd_summaries() padding="$(printf '%24s' '')" for cmd in ${PKGLIBCMD}; do cmd="${cmd##*/}" - cmd="${cmd%.sm}" + cmd="${cmd%.sho}" if [ ${#cmd} -gt 20 ]; then printf ' %s\n%24s' "${cmd}" '' else diff --git a/src/pro-archman.sh b/src/pro-archman.sh index 2a534b4..e17b751 100644 --- a/src/pro-archman.sh +++ b/src/pro-archman.sh @@ -69,8 +69,8 @@ use() dir="${default_dir}" fi - if [ -f "${dir}/${module##*/}.sm" ]; then - . "${dir}/${module##*/}.sm" + if [ -f "${dir}/${module##*/}.sho" ]; then + . "${dir}/${module##*/}.sho" else printf '%s: Error: Failed to load module "%s": %s\n' \ "${0##*/}" "${module}" 'no such file or directory' >&2 |