[Lunar-commits] <lunar> lvu: rename unalias to expand_alias
Stefan Wold
ratler at lunar-linux.org
Wed Aug 6 22:09:12 CEST 2014
commit b469d6206fe43a0643025c78ff233b7c300f4775
Author: Stefan Wold <ratler at lunar-linux.org>
Date: Wed, 06 Aug 2014 22:08:43 +0200
URL: https://github.com/lunar-linux/lunar/commit/b469d6206fe43a0643025c78ff233b7c300f4775
lvu: rename unalias to expand_alias
---
prog/lvu | +4/-4
1 file changed, 4 insertions(+), 4 deletions(-)
--- a/prog/lvu
+++ b/prog/lvu
@@ -519,7 +519,7 @@ moonalyze() {
depends() {
debug_msg "depends ($@)"
- DEP=$(NEVER_ASK=1 unalias $1)
+ DEP=$(NEVER_ASK=1 expand_alias $1)
add_if_missing_dep $DEP
if [ -z "$DEP" ]; then
broken_deps=("${broken_deps[@]}" "$mod")
@@ -529,7 +529,7 @@ moonalyze() {
optional_depends() {
debug_msg "optional_depends ($@)"
- DEP=$(NEVER_ASK=1 unalias $1)
+ DEP=$(NEVER_ASK=1 expand_alias $1)
add_if_missing_dep $DEP
if [ -z "$DEP" ]; then
@@ -634,13 +634,13 @@ function show_tree() {
# local definitions
function depends() {
debug_msg "depends ($@)"
- DEP=$(NEVER_ASK=1 unalias $1)
+ DEP=$(NEVER_ASK=1 expand_alias $1)
echo "+$DEP"
}
optional_depends() {
debug_msg "optional_depends ($@)"
- DEP=$(NEVER_ASK=1 unalias $1)
+ DEP=$(NEVER_ASK=1 expand_alias $1)
echo "-$DEP"
}
More information about the Lunar-commits
mailing list