Skip to content
Snippets Groups Projects
Commit 48d9c0ef authored by Gareth Tribello's avatar Gareth Tribello Committed by Giovanni Bussi
Browse files

Added fix to mktemp command so it works on Snow Leopard

parent dd20fcf2
No related branches found
No related tags found
No related merge requests found
......@@ -3,7 +3,7 @@
set -e
set -x
cd "$(mktemp -d)"
cd "$(mktemp -dt plumed.XXXXXX)"
git clone https://github.com/danmar/cppcheck.git
cd cppcheck
......
......@@ -3,7 +3,7 @@
set -e
set -x
cd "$(mktemp -d)"
cd "$(mktemp -dt plumed.XXXXXX)"
git clone https://github.com/doxygen/doxygen.git
......
......@@ -3,7 +3,7 @@
set -e
set -x
cd "$(mktemp -d)"
cd "$(mktemp -dt plumed.XXXXXX)"
version=4.1.4
......
......@@ -3,7 +3,7 @@
set -e
set -x
cd "$(mktemp -d)"
cd "$(mktemp -dt plumed.XXXXXX)"
git clone https://github.com/linux-test-project/lcov.git
......
......@@ -3,7 +3,7 @@
set -e
set -x
cd "$(mktemp -d)"
cd "$(mktemp -dt plumed.XXXXXX)"
echo "installing xdrfile library"
# wget ftp://ftp.gromacs.org/pub/contrib/xdrfile-1.1.4.tar.gz
......
......@@ -30,8 +30,8 @@ dirs=$(
done
)
file1=$(mktemp)
file2=$(mktemp)
file1=$(mktemp -t plumed.XXXXXX)
file2=$(mktemp -t plumed.XXXXXX)
for dir in $dirs
do
......
......@@ -52,7 +52,7 @@ fi
# done
# echo "+++++++++++++++++++++++++++++++++++++"
TMPDIR="$(mktemp -d)"
TMPDIR="$(mktemp -dt plumed.XXXXXX)"
FATAL_FILE="$TMPDIR/codecheck.fatal"
CLEAN_FILE="$TMPDIR/codecheck.clean"
......
......@@ -14,7 +14,7 @@
# DOC: In case you think you have a valid reason for a code not passing the check
# DOC: to be merged, please contact the developers.
TEMP=$(mktemp)
TEMP=$(mktemp -t plumed.XXXXXX)
cat > $TEMP << \EOF
......@@ -144,7 +144,7 @@ BEGIN{
core_modules["reference"]=1
# create tmp dir for future usage
"mktemp -d" | getline tmpdir
"mktemp -dt plumed.XXXXXX" | getline tmpdir
}
# for each input file
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment