Skip to content

Commit a7df84b

Browse files
author
Jason Mobarak
committed
Make wrapper scripts use relative paths
1 parent 6f91a46 commit a7df84b

File tree

4 files changed

+9
-6
lines changed

4 files changed

+9
-6
lines changed

.dockerignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
output/
22
build/
3+
*.txz

.travis.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,8 @@ script:
2020
- ./build_example.bash
2121

2222
after_success:
23-
- tar -C output -czf llvm-obfuscator-arm.tgz .
24-
- PRODUCT_VERSION=v1 ./publish.sh llvm-obfuscator-arm.tgz
23+
- tar -C output -cJf llvm-obfuscator-arm.txz .
24+
- PRODUCT_VERSION=v1 ./publish.sh llvm-obfuscator-arm.txz
2525

2626
env:
2727
global:

bin/arm-linux-gnueabihf-clang

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
#!/bin/bash
22

3-
R=/opt/llvm-obfuscator/sysroot
3+
D=$( (cd `dirname $0`/../.. >/dev/null; pwd -P) )
4+
R=$D/sysroot
45

5-
/opt/llvm-obfuscator/bin/clang \
6+
${D}/bin/clang \
67
-I ${R}/usr/arm-linux-gnueabihf/include \
78
-L ${R}/usr/arm-linux-gnueabi/libhf \
89
-ccc-gcc-name arm-linux-gnueabihf-gcc \

bin/arm-linux-gnueabihf-clang++

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
#!/bin/bash
22

3-
R=/opt/llvm-obfuscator/sysroot
3+
D=$( (cd `dirname $0`/../.. >/dev/null; pwd -P) )
4+
R=$D/sysroot
45

5-
/opt/llvm-obfuscator/bin/clang++ \
6+
${D}/bin/clang++ \
67
-I ${R}/usr/arm-linux-gnueabihf/include \
78
-L ${R}/usr/arm-linux-gnueabi/libhf \
89
-I ${R}/usr/arm-linux-gnueabihf/include/c++/4.8.5/ \

0 commit comments

Comments
 (0)