diff options
| author | TitanSnow <[email protected]> | 2017-05-25 07:01:46 +0800 |
|---|---|---|
| committer | TitanSnow <[email protected]> | 2017-05-25 07:01:46 +0800 |
| commit | f1e3e370136bcea36ae97e58680ab9d6aa4cba6f (patch) | |
| tree | 91478e2607d2c4896ddfb505c9c22f3f88736921 | |
| parent | 962b99cb4161b98928152d0abd12df0fb1745283 (diff) | |
Revert "fix build by using sudo $(xmake)"
This reverts commit 962b99cb4161b98928152d0abd12df0fb1745283.
| -rw-r--r-- | tests/build.lua | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/build.lua b/tests/build.lua index 4f4fad93c..6a2ccb339 100644 --- a/tests/build.lua +++ b/tests/build.lua @@ -22,14 +22,14 @@ function main(argv) os.exec("xmake f --cc=gcc --cxx=g++") os.exec("xmake m buildtest") if os.host() ~= "windows" then - os.exec("sudo \"$(xmake)\" install") - os.exec("sudo \"$(xmake)\" uninstall") + os.exec("sudo xmake install") + os.exec("sudo xmake uninstall") end os.exec("xmake f --cc=clang --cxx=clang++ --ld=clang++ --verbose --backtrace") os.exec("xmake m buildtest") if os.host() ~= "windows" then - os.exec("sudo \"$(xmake)\" install --all -v --backtrace") - os.exec("sudo \"$(xmake)\" uninstall -v --backtrace") + os.exec("sudo xmake install --all -v --backtrace") + os.exec("sudo xmake uninstall -v --backtrace") end os.exec("xmake m -d buildtest") |
