You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

22 lines
696 B

--- ./src/bin/pg_upgrade/test.sh 2016-10-25 01:38:51.000000000 +0530
+++ ../test.sh 2017-01-23 10:08:52.568213209 +0530
@@ -44,15 +44,15 @@
if [ "x$PGHOST" = x ]; then
{
dir=`(umask 077 &&
- mktemp -d /tmp/pg_upgrade_check-XXXXXX) 2>/dev/null` &&
+ mktemp -d @TERMUX_PREFIX@/tmp/pg_upgrade_check-XXXXXX) 2>/dev/null` &&
[ -d "$dir" ]
} ||
{
- dir=/tmp/pg_upgrade_check-$$-$RANDOM
+ dir=@TERMUX_PREFIX@/tmp/pg_upgrade_check-$$-$RANDOM
(umask 077 && mkdir "$dir")
} ||
{
- echo "could not create socket temporary directory in \"/tmp\""
+ echo "could not create socket temporary directory in \"@TERMUX_PREFIX@/tmp\""
exit 1
}