forked from artix/artools
Compare commits
3 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| bef2a0b3fa | |||
| 8d6f12f5a9 | |||
| bf6fc3fcff |
@@ -84,7 +84,9 @@ write_pkg_yaml(){
|
||||
|
||||
Yaml+=$(write_empty_line)
|
||||
|
||||
local ver=$(get_full_version)
|
||||
local full=$(get_full_version)
|
||||
|
||||
local ver=${full:-0}
|
||||
|
||||
pkgbase=${pkgbase:-${pkgname[0]}}
|
||||
|
||||
|
||||
@@ -128,7 +128,7 @@ get_artix_tree(){
|
||||
get_import_path(){
|
||||
local pkg="$1" import_path=
|
||||
for tree in ${TREE_NAMES_ARCH[@]};do
|
||||
[[ -d ${TREE_DIR_ARCH}/$tree/$pkg ]] && import_path=${TREE_DIR_ARCH}/$tree/$pkg
|
||||
[[ -d ${TREE_DIR_ARCH}/$tree/$pkg/repos ]] && import_path=${TREE_DIR_ARCH}/$tree/$pkg
|
||||
done
|
||||
echo $import_path
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user