From 1150afd2454a77b85fffe10e3f36955cfb83e7b9 Mon Sep 17 00:00:00 2001 From: LukeeGD Date: Sun, 13 Sep 2020 22:36:18 +0800 Subject: [PATCH] Fix prefix --- restore.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/restore.sh b/restore.sh index f5aed0e..b99e57f 100755 --- a/restore.sh +++ b/restore.sh @@ -556,7 +556,7 @@ function InstallDependencies { function Compile { git clone --depth 1 https://github.com/$1/$2.git cd $2 - ./autogen.sh --prefix="$(dirname $(dirname $(pwd)))/resources/$2" + ./autogen.sh --prefix="$(cd ../.. && pwd)/resources/$2" make install cd .. sudo rm -rf $2