mirror of
https://github.com/zebrajr/SamRewritten.git
synced 2025-12-06 00:19:47 +01:00
fix quoting in scripts
This commit is contained in:
parent
2a9fe6f5ee
commit
58c3ee8a74
|
|
@ -1,10 +1,10 @@
|
|||
#!/bin/bash
|
||||
|
||||
SCRIPT_PATH=`dirname $(realpath $0)`
|
||||
SCRIPT_PATH=$(dirname "$(realpath "$0")")
|
||||
export LD_LIBRARY_PATH=${SCRIPT_PATH}
|
||||
|
||||
# Workaround waiting for a fix https://github.com/lloyd/yajl/issues/222
|
||||
export LC_NUMERIC=en_US.UTF-8
|
||||
|
||||
cd ${SCRIPT_PATH}/..
|
||||
${SCRIPT_PATH}/samrewritten $@
|
||||
cd "${SCRIPT_PATH}"/..
|
||||
"${SCRIPT_PATH}"/samrewritten "$@"
|
||||
|
|
|
|||
|
|
@ -1,12 +1,12 @@
|
|||
#!/bin/bash
|
||||
|
||||
SCRIPT_PATH=`dirname $(realpath $0)`
|
||||
SCRIPT_PATH=$(dirname "$(realpath "$0")")
|
||||
export LD_LIBRARY_PATH=${SCRIPT_PATH}
|
||||
|
||||
# Workaround waiting for a fix https://github.com/lloyd/yajl/issues/222
|
||||
export LC_NUMERIC=en_US.UTF-8
|
||||
|
||||
cd ${SCRIPT_PATH}/..
|
||||
cd "${SCRIPT_PATH}"/..
|
||||
rm -f /tmp/sam-massif.out
|
||||
valgrind --tool=massif --massif-out-file=/tmp/sam-massif.out ${SCRIPT_PATH}/samrewritten $@
|
||||
massif-visualizer /tmp/sam-massif.out
|
||||
massif-visualizer /tmp/sam-massif.out
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user