@matheusbsbs / matheus-bagliano / commits / 9ff2958dd8
Fork 0

remote-mediawiki tests: use "$dir/" instead of "$dir."

Change UI messages to use "$dir/" instead of "$dir.". I think this is less confusing when referring to an absolute directory path. Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>

Ævar Arnfjörð Bjarmason committed Sep 21, 2020 at 12:39 UTC 9ff2958dd8376869e1de9a34fdaf74121481bb3f
1 file changed +3 -3
contrib/mw-to-git/t/test-gitmw-lib.sh
+3 -3
@@ -343,10 +343,10 @@ wiki_install () {
343 "http://download.wikimedia.org/mediawiki/$MW_VERSION_MAJOR/"\
344 "$MW_FILENAME. "\
345 "Please fix your connection and launch the script again."
346 - echo "$MW_FILENAME downloaded in $(pwd). "\
347 - "You can delete it later if you want."
346 + echo "$MW_FILENAME downloaded in $(pwd)/;" \
347 + "you can delete it later if you want."
348 else
349 - echo "Reusing existing $MW_FILENAME downloaded in $(pwd)."
349 + echo "Reusing existing $MW_FILENAME downloaded in $(pwd)/"
350 fi
351 archive_abs_path=$(pwd)/$MW_FILENAME
352 cd "$WIKI_DIR_INST/$WIKI_DIR_NAME/" ||