From 9dc77deb8d7988bc24e6ce1166e9fdc7b3d0f712 Mon Sep 17 00:00:00 2001 From: j8takagi Date: Fri, 22 May 2026 09:58:32 +0900 Subject: [PATCH] =?utf8?q?=E7=B4=B0=E9=83=A8=E3=81=AE=E4=BF=AE=E6=AD=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- Makefile | 2 +- global_ip_chk.sh | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index 883e553..283f9a8 100644 --- a/Makefile +++ b/Makefile @@ -21,4 +21,4 @@ distclean: $(RM) $(TARGETS) %: %.sh - $(PRINTF) "#!%s\n" `$(WHICH) sh` >$@ && $(CAT) $< >>$@ && $(CHMOD) 700 $@ + $(PRINTF) "#!%s\n" "/bin/sh" >$@ && $(CAT) $< >>$@ && $(CHMOD) 755 $@ diff --git a/global_ip_chk.sh b/global_ip_chk.sh index c998439..04fb270 100755 --- a/global_ip_chk.sh +++ b/global_ip_chk.sh @@ -1,4 +1,3 @@ -#!/bin/sh BINDIR=~/bin IPDIR=~ @@ -6,7 +5,7 @@ IPFILE=${IPDIR}/globalip.txt IPCHECKSERVER=ifconfig.io -NOWIP=$(wget -q -O - https://${IPCHECKSERVER}) +NOWIP=$(wget -q -O - https://${IPCHECKSERVER}/) if test -z "${NOWIP}"; then printf "Failed to retrieve Global IP. Exiting." >&2 -- 2.47.3