Handle the case of no macros to install

git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@4388 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
This commit is contained in:
teastep 2006-08-19 16:46:15 +00:00
parent 3687d6cfa0
commit 27dc9d3162

View File

@ -663,8 +663,14 @@ done
# Install the Macro files
#
for f in macro.* ; do
install_file $f ${PREFIX}/usr/share/shorewall/$f 0644
echo "Macro ${f#*.} file installed as ${PREFIX}/usr/share/shorewall/$f"
case $f in
*.\*)
;;
*)
install_file $f ${PREFIX}/usr/share/shorewall/$f 0644
echo "Macro ${f#*.} file installed as ${PREFIX}/usr/share/shorewall/$f"
;;
esac
done
#
# Install the program skeleton files