Skip to content

Commit

Permalink
variable quoting
Browse files Browse the repository at this point in the history
  • Loading branch information
neutralinsomniac committed Jun 20, 2020
1 parent ce5844f commit 2ee1643
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion generate_pkgup_from_current_dir.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ rm -f index.pkgup

for pkg in $(ls *.tgz)
do
tar -C /tmp/ -xzf $pkg +CONTENTS
tar -C /tmp/ -xzf "$pkg" +CONTENTS
echo "$pkg" $(cat /tmp/+CONTENTS |egrep '^@name|^@version|^@wantlib' |sha256 -b) >> index.pkgup
done

Expand Down

0 comments on commit 2ee1643

Please sign in to comment.