Ubuntu Pastebin

Paste from ogra at Fri, 2 Jun 2017 09:18:06 +0000

Download as text
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
root@ad302c216b0c:/# cat /snap/snapcraft/current/bin/snapcraft-classic 
#!/bin/sh

case $SNAP_ARCH in
amd64)
        TRIPLET="x86_64-linux-gnu"
        ;;
armhf)
        TRIPLET="arm-linux-gnueabihf"
        ;;
arm64)
        TRIPLET="aarch64-linux-gnu"
        ;;
*)
	TRIPLET="$(uname -p)-linux-gnu"
        ;;
esac

export LD_LIBRARY_PATH=$SNAP/usr/lib:$SNAP/usr/lib/$TRIPLET
export MAGIC=$SNAP/usr/share/file/magic.mgc

exec $SNAP/usr/bin/python3 $SNAP/bin/snapcraft "$@"
root@ad302c216b0c:/# 
Download as text