Skip to content

Commit 44e2b01

Browse files
committed
bug fix
1 parent 1897c84 commit 44e2b01

File tree

2 files changed

+20
-20
lines changed

2 files changed

+20
-20
lines changed

release/install.sh

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -6,18 +6,18 @@
66
##
77
## Metadata:
88
##
9-
## author - qq542vev <https://purl.org/meta/me/>
10-
## version - 0.1.0
11-
## date - 2022-07-27
12-
## since - 2022-07-13
13-
## copyright - Copyright (C) 2022-2022 qq542vev. Some rights reserved.
14-
## license - CC-BY <https://creativecommons.org/licenses/by/4.0/>
15-
## package - w3mplus
9+
## author - qq542vev <https://purl.org/meta/me/>
10+
## version - 0.1.0
11+
## date - 2022-07-27
12+
## since - 2022-07-13
13+
## copyright - Copyright (C) 2022-2022 qq542vev. Some rights reserved.
14+
## license - CC-BY <https://creativecommons.org/licenses/by/4.0/>
15+
## package - w3mplus
1616
##
1717
## See Also:
1818
##
19-
## * Project homepage - <https://github.com/qq542vev/w3mplus>
20-
## * Bag report - <https://github.com/qq542vev/w3mplus/issues>
19+
## * Project homepage - <https://github.com/qq542vev/w3mplus>
20+
## * Bag report - <https://github.com/qq542vev/w3mplus/issues>
2121

2222
VERSION='install 0.1.0'
2323

@@ -589,7 +589,7 @@ for value in 'bin:destBin' '.w3m:destW3m' '.w3mplus:destW3mplus'; do
589589

590590
rm -fr "${destDir}"
591591

592-
cp -R -- '.' "${destDir}"
592+
cp -R -- "${tmpDir}/${value%%:*}" "${destDir}"
593593
elif [ -d "${destDir}" ]; then
594594
mkdir -p -- "${destDir}"
595595

source/install.sh

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -6,18 +6,18 @@
66
##
77
## Metadata:
88
##
9-
## author - qq542vev <https://purl.org/meta/me/>
10-
## version - 0.1.0
11-
## date - 2022-07-27
12-
## since - 2022-07-13
13-
## copyright - Copyright (C) 2022-2022 qq542vev. Some rights reserved.
14-
## license - CC-BY <https://creativecommons.org/licenses/by/4.0/>
15-
## package - w3mplus
9+
## author - qq542vev <https://purl.org/meta/me/>
10+
## version - 0.1.0
11+
## date - 2022-07-27
12+
## since - 2022-07-13
13+
## copyright - Copyright (C) 2022-2022 qq542vev. Some rights reserved.
14+
## license - CC-BY <https://creativecommons.org/licenses/by/4.0/>
15+
## package - w3mplus
1616
##
1717
## See Also:
1818
##
19-
## * Project homepage - <https://github.com/qq542vev/w3mplus>
20-
## * Bag report - <https://github.com/qq542vev/w3mplus/issues>
19+
## * Project homepage - <https://github.com/qq542vev/w3mplus>
20+
## * Bag report - <https://github.com/qq542vev/w3mplus/issues>
2121

2222
VERSION='install 0.1.0'
2323

@@ -134,7 +134,7 @@ for value in 'bin:destBin' '.w3m:destW3m' '.w3mplus:destW3mplus'; do
134134

135135
rm -fr "${destDir}"
136136

137-
cp -R -- '.' "${destDir}"
137+
cp -R -- "${tmpDir}/${value%%:*}" "${destDir}"
138138
elif [ -d "${destDir}" ]; then
139139
mkdir -p -- "${destDir}"
140140

0 commit comments

Comments
 (0)