Skip to content

Commit

Permalink
This should be quoted to prevent the $1 from being expanded as an arg…
Browse files Browse the repository at this point in the history
…ument to the m4 macro
  • Loading branch information
embray committed Mar 6, 2018
1 parent bb9ff43 commit 2a99185
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion m4/sage_spkg_collect.m4
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ AC_MSG_RESULT([])
# Usage: newest_version $pkg
# Print version number of latest package $pkg
newest_version() {
PKG=$1
PKG=$[1]
if test -f "$SAGE_ROOT/build/pkgs/$PKG/package-version.txt" ; then
cat "$SAGE_ROOT/build/pkgs/$PKG/package-version.txt"
else
Expand Down

0 comments on commit 2a99185

Please sign in to comment.