Skip to content

Commit fcd8ada

Browse files
authored
Merge pull request #2 from OurCodeBase/develop
file.search.int to file.search.pos updated in _uri.sh file
2 parents 45e8578 + 5f609ba commit fcd8ada

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

_uri.sh

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -120,16 +120,16 @@ _uri.addModuleSource(){
120120
# checking catogories.
121121
if [[ "${PRIMARY_MODULES[*]}" == *"${ARGModuleVar}"* ]]; then
122122
# position of catogory hash.
123-
local PosMap="$(file.search.int "#@PRIMARY_MODULES" "${ARGResultFile}")";
123+
local PosMap="$(file.search.pos "#@PRIMARY_MODULES" "${ARGResultFile}")";
124124
elif [[ "${SECONDARY_MODULES[*]}" == *"${ARGModuleVar}"* ]]; then
125125
# position of catogory hash.
126-
local PosMap="$(file.search.int "#@SECONDARY_MODULES" "${ARGResultFile}")";
126+
local PosMap="$(file.search.pos "#@SECONDARY_MODULES" "${ARGResultFile}")";
127127
elif [[ "${TERTIARY_MODULES[*]}" == *"${ARGModuleVar}"* ]]; then
128128
# position of catogory hash.
129-
local PosMap="$(file.search.int "#@TERTIARY_MODULES" "${ARGResultFile}")";
129+
local PosMap="$(file.search.pos "#@TERTIARY_MODULES" "${ARGResultFile}")";
130130
else
131131
# position of catogory hash.
132-
local PosMap="$(file.search.int "#@OTHER_MODULES" "${ARGResultFile}")";
132+
local PosMap="$(file.search.pos "#@OTHER_MODULES" "${ARGResultFile}")";
133133
fi
134134
# installing module.
135135
file.append.vert "$(_uri.chotuCode "${ARGModule}")" "$(( PosMap+1 ))" "${ARGResultFile}" &&

0 commit comments

Comments
 (0)