get_stack solo trae el último archivo de la cola
las funciones hacen una sola cosa
This commit is contained in:
parent
b8d45a0adf
commit
9fef227f5e
1 changed files with 1 additions and 8 deletions
|
@ -1,10 +1,3 @@
|
|||
get_stack () {
|
||||
if [[ ! -z $1 && $1 == "wc" ]];then
|
||||
ls $install_dir/stack | wc -l
|
||||
else
|
||||
ls $install_dir/stack | tail -1
|
||||
fi
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue