mirror of
https://github.com/darlinghq/darling-bootstrap_cmds.git
synced 2024-11-23 04:19:46 +00:00
Merge pull request #3 from darlinghq/hardcode_path_hotfix
Don't Hardcode "arch" and "mktemp" Path
This commit is contained in:
commit
c60e806741
@ -91,9 +91,15 @@ fi
|
||||
cppflags="-D__MACH30__"
|
||||
|
||||
files=
|
||||
arch=`/usr/bin/arch`
|
||||
## DARLING
|
||||
# arch=`/usr/bin/arch`
|
||||
arch=`uname -m`
|
||||
## /DARLING
|
||||
|
||||
WORKTMP=`/usr/bin/mktemp -d "${TMPDIR:-/tmp}/mig.XXXXXX"`
|
||||
## DARLING
|
||||
# WORKTMP=`/usr/bin/mktemp -d "${TMPDIR:-/tmp}/mig.XXXXXX"`
|
||||
WORKTMP=`mktemp -d "${TMPDIR:-/tmp}/mig.XXXXXX"`
|
||||
## /DARLING
|
||||
if [ $? -ne 0 ]; then
|
||||
echo "Failure creating temporary work directory: ${WORKTMP}"
|
||||
echo "Exiting..."
|
||||
|
Loading…
Reference in New Issue
Block a user