Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

shell quoting safety

  • Loading branch information...
commit 496b5897de9a9746a4279da5692a634fc09356d7 1 parent 578b0d4
@rtomayko authored
Showing with 3 additions and 3 deletions.
  1. +3 −3 rpg-build.sh
View
6 rpg-build.sh
@@ -18,14 +18,14 @@ exit 0
find "$path/ext" -name "extconf.rb" |
while read file
do
- heed "$(basename $path) $(basename $(dirname $file))"
- cd $(dirname $file)
+ heed "$(basename "$path") $(basename $(dirname "$file"))"
+ cd "$(dirname "$file")"
if (ruby extconf.rb &&
{ make clean || true; } &&
make) 1> build.log 2>&1
then
$RPGSHOWBUILD && cat build.log 1>&2
- find "$(pwd)" -name "*.$(ruby_dlext)"
+ find "$path" -name "*.$(ruby_dlext)"
else
cat build.log 1>&2
fi
Please sign in to comment.
Something went wrong with that request. Please try again.