summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--network/hostapd/hostapd.SlackBuild6
1 files changed, 3 insertions, 3 deletions
diff --git a/network/hostapd/hostapd.SlackBuild b/network/hostapd/hostapd.SlackBuild
index f72a8ae05d..276d29a6b5 100644
--- a/network/hostapd/hostapd.SlackBuild
+++ b/network/hostapd/hostapd.SlackBuild
@@ -88,10 +88,10 @@ install -D -m 0755 $CWD/rc.hostapd $PKG/etc/rc.d/rc.hostapd.new
DOINST_TMP=$(mktemp) # temporary holding place
for i in \
- hostapd.??* *.conf
+ $(echo hostapd.??* *.conf | xargs -n1 | sort -u)
do
- cat $i > $PKG/etc/hostapd/$i.new ;
- chmod 0600 $PKG/etc/hostapd/$i.new ;
+ cat $i > $PKG/etc/hostapd/$i.new
+ chmod 0600 $PKG/etc/hostapd/$i.new
echo "config etc/hostapd/$i.new" >> $DOINST_TMP
done