mirror of
https://github.com/opnsense/plugins.git
synced 2026-10-12 02:20:37 +00:00
make: fix POSIX compat; closes #5618
This commit is contained in:
+2
-2
@@ -253,7 +253,7 @@ install: check
|
||||
mv "${DESTDIR}${LOCALBASE}/$${FILE}" \
|
||||
"${DESTDIR}${LOCALBASE}/$${FILE%%.shadow}.sample"; \
|
||||
fi; \
|
||||
if [ "$${FILE%%/*}" == "man" ]; then \
|
||||
if [ "$${FILE%%/*}" = "man" ]; then \
|
||||
gzip -cn "${DESTDIR}${LOCALBASE}/$${FILE}" > \
|
||||
"${DESTDIR}${LOCALBASE}/$${FILE}.gz"; \
|
||||
rm "${DESTDIR}${LOCALBASE}/$${FILE}"; \
|
||||
@@ -274,7 +274,7 @@ plist: check
|
||||
FILE="$${FILE%%.shadow}.sample"; \
|
||||
PREFIX="@shadow "; \
|
||||
fi; \
|
||||
if [ "$${FILE%%/*}" == "man" ]; then \
|
||||
if [ "$${FILE%%/*}" = "man" ]; then \
|
||||
FILE="$${FILE}.gz"; \
|
||||
fi; \
|
||||
echo "$${PREFIX}${LOCALBASE}/$${FILE}"; \
|
||||
|
||||
Reference in New Issue
Block a user