Skip to content

Commit

Permalink
install: replace fragile ls in for loop
Browse files Browse the repository at this point in the history
  • Loading branch information
go2null committed May 3, 2019
1 parent 2bf259a commit 1eff056
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@
CSDIR="${XDG_CONFIG_HOME:-$HOME/.config}/geany/colorschemes/"
echo "Installing themes into '$CSDIR'..."
mkdir -p "$CSDIR"
for SCHEME in `ls colorschemes/*.conf`
do
BNAME=`basename "$SCHEME"`

for SCHEME in colorschemes/*.conf; do
BNAME="${SCHEME##*/}"
echo " => $BNAME"
cp "$SCHEME" "$CSDIR"
done

0 comments on commit 1eff056

Please sign in to comment.