pkg(all): replace $* with "$@"
This commit is contained in:
parent
55f45e05bc
commit
d0f8932722
|
@ -1,4 +1,4 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
# Put instructions to run the runtime
|
||||
bash $*
|
||||
bash "$@"
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
# Put instructions to run the runtime
|
||||
dart run $*
|
||||
dart run "$@"
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
#!/bin/bash
|
||||
DENO_DIR=$PWD deno run $*
|
||||
DENO_DIR=$PWD deno run "$@"
|
|
@ -1,4 +1,4 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
# Put instructions to run the runtime
|
||||
gawk-5.1.0 -f $*
|
||||
gawk-5.1.0 -f "$@"
|
||||
|
|
|
@ -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})"
|
||||
|
|
|
@ -3,4 +3,4 @@
|
|||
# Put instructions to run the runtime
|
||||
|
||||
shift # Discard main filename
|
||||
./a.out $*
|
||||
./a.out "$@"
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
# Put instructions to run the runtime
|
||||
java $*
|
||||
java "$@"
|
||||
|
|
|
@ -1 +1 @@
|
|||
jelly fu $*
|
||||
jelly fu "$@"
|
|
@ -1,4 +1,4 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
# Put instructions to compile source code, remove this file if the language does not require this stage
|
||||
kotlinc $* -include-runtime -d code.jar
|
||||
kotlinc "$@" -include-runtime -d code.jar
|
|
@ -1,3 +1,3 @@
|
|||
#!/bin/bash
|
||||
|
||||
csc $*
|
||||
csc "$@"
|
|
@ -2,4 +2,4 @@
|
|||
|
||||
CODE=${1/cs/exe}
|
||||
shift
|
||||
mono $CODE $*
|
||||
mono $CODE "$@"
|
|
@ -5,11 +5,11 @@
|
|||
|
||||
case "${PISTON_ALIAS}" in
|
||||
nasm)
|
||||
nasm -f elf32 -o binary.o $*
|
||||
nasm -f elf32 -o binary.o "$@"
|
||||
ld -m elf_i386 binary.o -o binary
|
||||
;;
|
||||
nasm64)
|
||||
nasm -f elf64 -o binary.o $*
|
||||
nasm -f elf64 -o binary.o "$@"
|
||||
ld -m elf_x86_64 binary.o -o binary
|
||||
;;
|
||||
*)
|
||||
|
|
|
@ -2,4 +2,4 @@
|
|||
|
||||
# Put instructions to run the runtime
|
||||
shift
|
||||
./binary $*
|
||||
./binary "$@"
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
#!/bin/bash
|
||||
|
||||
node $*
|
||||
node "$@"
|
|
@ -1,3 +1,3 @@
|
|||
#!/bin/bash
|
||||
|
||||
php $*
|
||||
php "$@"
|
|
@ -1,3 +1,3 @@
|
|||
#!/bin/bash
|
||||
|
||||
python3.9 $*
|
||||
python3.9 "$@"
|
|
@ -2,4 +2,4 @@
|
|||
|
||||
# Put instructions to compile source code, remove this file if the language does not require this stage
|
||||
|
||||
tsc $*
|
||||
tsc "$@"
|
|
@ -5,4 +5,4 @@
|
|||
CODE=$(sed 's/ts$/js/' <<<"$1")
|
||||
shift
|
||||
|
||||
node $CODE $*
|
||||
node $CODE "$@"
|
||||
|
|
Loading…
Reference in New Issue