minor change

This commit is contained in:
Christopher Roy Bratusek 2016-07-24 11:50:26 +02:00
parent 66bdf5116a
commit 800dc28718

View File

@ -13,22 +13,22 @@ fi
wireless="" wireless=""
for device in /sys/class/net/*; do for device in /sys/class/net/*; do
[[ -e ${device}/wireless ]] && \ [[ -e ${device}/wireless ]] && \
wireless+="$(basename ${device}) " wireless+="$(basename ${device}),"
done done
pcaps="" pcaps=""
for pcap in ${basedir}/pcap/*.pcap; do for pcap in ${basedir}/pcap/*.pcap; do
pcaps+="$(basename ${pcap}) " pcaps+="$(basename ${pcap}),"
done done
wireless="${wireless%"${wireless##*[![:space:]]}"}" wireless="${wireless%"${wireless##*[!,]}"}"
pcaps="${pcaps%"${pcaps##*[![:space:]]}"}" pcaps="${pcaps%"${pcaps##*[!,]}"}"
array=($(${YAD} \ array=($(${YAD} \
--title="smashbroshax Helper" \ --title="smashbroshax Helper" \
--form \ --form \
--item-separator=" " \ --item-separator=, \
--separator=" " \ --separator=, \
--field="smashbroshax Helper will send data to your 3DS in order for Super Smash Bros --field="smashbroshax Helper will send data to your 3DS in order for Super Smash Bros
for 3DS to launch the Homebrew Launcher. for 3DS to launch the Homebrew Launcher.