17 lines
546 B
Bash
17 lines
546 B
Bash
$NetBSD: patch-modules_pdfium_update.sh,v 1.2 2018/03/17 00:59:03 ryoon Exp $
|
|
|
|
--- modules/pdfium/update.sh.orig 2018-03-10 02:54:17.000000000 +0000
|
|
+++ modules/pdfium/update.sh
|
|
@@ -132,9 +132,9 @@ update_readme() {
|
|
perl -p -i -e "s/${PREFIX} [0-9A-Fa-f]+ \(.+\)/${PREFIX} ${COMMIT} (${COMMIT_DATE})/" README_MOZILLA
|
|
}
|
|
|
|
-if [ "$#" == 0 ]; then
|
|
+if [ "$#" = 0 ]; then
|
|
COMMIT_SELECTOR="master"
|
|
-elif [ "$#" == 2 -a "$1" == "--commit" ]; then
|
|
+elif [ "$#" = 2 -a "$1" = "--commit" ]; then
|
|
COMMIT_SELECTOR="$2"
|
|
else
|
|
print_help
|