Skip to content

Commit 7928c21

Browse files
authored
Fix a bug
1 parent 55ef91c commit 7928c21

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

common/install.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
if [ "$REPLACEALL" = "true" ]; then
22
for i in "$(echo "$q" | awk '{printf "%s",$1}'| sed 's/ //g')"; do
3-
APNCONFDIR="$MODPATH/$i"
3+
APNCONFDIR="$MODPATH/${i%/*}"
44
if [[ ! -d "$APNCONFDIR" ]]; then
55
mkdir -p "$APNCONFDIR"
66
cp "$MODPATH"/APN/apns-conf.xml "$APNCONFDIR"

0 commit comments

Comments
 (0)