Remove bashism from kxsconfig/update_hacks.sh

pull/1/head
Slávek Banko 11 years ago
parent a6a9c6236a
commit 4cd2171720

@ -11,13 +11,16 @@ fi
# Gets list of screensavers. Exclude 'config'.
scsvs=""
pushd "${XSDIR}" >/dev/null
for i in *; do
if [ -d "$XSDIR" ]; then
LASTD=$PWD
cd "${XSDIR}" >/dev/null
for i in *; do
if [ "${i}" != "config" ]; then
scsvs="${scsvs} ${i}"
fi
done
popd >/dev/null
done
cd "$LASTD"
fi
echo $scsvs

Loading…
Cancel
Save