Skip to content
This repository was archived by the owner on Jul 2, 2020. It is now read-only.

Commit 970aaf7

Browse files
committed
pandocDownload2zip.sh: improve naming on source codes
1 parent de70619 commit 970aaf7

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

pandocDownload2zip.sh

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -104,8 +104,8 @@ if [[ ! -z "$zipUrlPartial" ]]; then
104104
ZIP=${zipUrl##*/}
105105
# download
106106
wget $zipUrl
107-
# rename & to dist
108-
mv $ZIP dist/source-code-$ZIP
107+
# rename & to dist/
108+
mv $ZIP dist/pandoc-$ZIP-source-code
109109
fi
110110
### .tar.gz
111111
if [[ ! -z "$tarUrlPartial" ]]; then
@@ -114,6 +114,6 @@ if [[ ! -z "$tarUrlPartial" ]]; then
114114
TAR=${tarUrl##*/}
115115
# download
116116
wget $tarUrl
117-
# to dist/
118-
mv $TAR dist/source-code-$TAR
117+
# rename & to dist/
118+
mv $TAR dist/pandoc-$TAR-source-code
119119
fi

0 commit comments

Comments
 (0)