mirror of
https://github.com/engineer-man/piston.git
synced 2025-04-20 20:16:26 +02:00
pkg(all): replace $* with "$@"
This commit is contained in:
parent
55f45e05bc
commit
d0f8932722
18 changed files with 22 additions and 22 deletions
8
packages/gcc/10.2.0/compile
vendored
8
packages/gcc/10.2.0/compile
vendored
|
@ -5,16 +5,16 @@
|
|||
|
||||
case "${PISTON_ALIAS}" in
|
||||
gcc | c)
|
||||
gcc -std=c11 $* -lm
|
||||
gcc -std=c11 "$@" -lm
|
||||
;;
|
||||
g++ | c++ | cpp)
|
||||
g++ -std=c++17 $*
|
||||
g++ -std=c++17 "$@"
|
||||
;;
|
||||
gccgo | go)
|
||||
gccgo $*
|
||||
gccgo "$@"
|
||||
;;
|
||||
gdc | d)
|
||||
gdc $*
|
||||
gdc "$@"
|
||||
;;
|
||||
*)
|
||||
echo "How did you get here? (${PISTON_ALIAS})"
|
||||
|
|
2
packages/gcc/10.2.0/run
vendored
2
packages/gcc/10.2.0/run
vendored
|
@ -3,4 +3,4 @@
|
|||
# Put instructions to run the runtime
|
||||
|
||||
shift # Discard main filename
|
||||
./a.out $*
|
||||
./a.out "$@"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue