We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fbb57bd commit cb88a5dCopy full SHA for cb88a5d
plugins/envsetup
@@ -64,6 +64,26 @@ is_mounted() {
64
fi
65
}
66
67
+list_parser() {
68
+ export count
69
+ export include_list
70
+
71
+ count=0
72
+ include_list=""
73
74
+ list_file=$1
75
76
+ if [ -f "$list_file" ]; then
77
+ buffer=$(cat "$list_file")
78
+ for line in $buffer; do
79
+ ((count++))
80
+ include_list+=" $line"
81
+ done
82
+ else
83
+ echo "File $list_file not found.."
84
+ fi
85
+}
86
87
depends_on() {
88
local packages="$1"
89
export x
0 commit comments