Ubuntu Pastebin

Paste from asac at Thu, 28 May 2015 17:46:09 +0000

Download as text
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
=== modified file 'go-example-webserver/magic-bin/go-example-webserver'
--- go-example-webserver/magic-bin/go-example-webserver	2015-05-21 19:48:45 +0000
+++ go-example-webserver/magic-bin/go-example-webserver	2015-05-28 17:44:21 +0000
@@ -49,6 +49,9 @@
 # make cwd the snapp dir
 cd $snapp_dir
 
+# mkdir tmpdir to workaround launcher bug
+mkdir -m1777 -p $SNAP_APP_TMPDIR
+
 # fire the binary
 exec $snapp_bin "$@"
 
Download as text