File tree Expand file tree Collapse file tree 3 files changed +5
-6
lines changed
Expand file tree Collapse file tree 3 files changed +5
-6
lines changed Original file line number Diff line number Diff line change 22
33DIR=$( cd " $( dirname " ${BASH_SOURCE[0]} " ) " && cd .. && pwd )
44
5- export LD_LIBRARY_PATH=${DIR} /lib
6- export PATH=${DIR} /bin:${PATH}
7- exec ${DIR} /lib/ld.so ${DIR} /bin/btrfs.box " $@ "
5+ exec ${DIR} /lib/ld.so --library-path ${DIR} /lib ${DIR} /bin/btrfs.box " $@ "
Original file line number Diff line number Diff line change 22
33DIR=$( cd " $( dirname " ${BASH_SOURCE[0]} " ) " && cd .. && pwd )
44
5- export LD_LIBRARY_PATH=${DIR} /lib
6- export PATH=${DIR} /bin:${PATH}
7- exec ${DIR} /lib/ld.so ${DIR} /bin/mkfs.btrfs " $@ "
5+ exec ${DIR} /lib/ld.so --library-path ${DIR} /lib ${DIR} /bin/mkfs.btrfs " $@ "
Original file line number Diff line number Diff line change @@ -6,3 +6,6 @@ cd ${DIR}
66${DIR} /build/btrfs/bin/btrfs.sh --help
77${DIR} /build/btrfs/bin/btrfs.sh version
88${DIR} /build/btrfs/bin/mkfs.sh --help
9+
10+ ldd ${DIR} /build/btrfs/bin/btrfs.box
11+ ldd ${DIR} /build/btrfs/bin/mkfs.btrfs
You can’t perform that action at this time.
0 commit comments