File tree Expand file tree Collapse file tree 2 files changed +7
-6
lines changed
Expand file tree Collapse file tree 2 files changed +7
-6
lines changed Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ before_install:
77 - sudo apt-get install -qq libfuse-dev libglib2.0-dev cmake libc6-dev binutils valac libgee-0.8-dev gcc-multilib g++-multilib libc6-dev-i386
88 - cd ./LibcWrapGenerator
99 - valac --pkg gee-0.8 --pkg posix --pkg glib-2.0 --pkg gio-2.0 ./LibcWrapGenerator.vala
10- - sudo ./LibcWrapGenerator --target 2.4 --libdir /lib --output libcwrap.h
10+ - sudo ./LibcWrapGenerator --target 2.14 --libdir /lib --output libcwrap.h
1111 - sudo cp ./libcwrap.h /usr/include/
1212 - cd -
1313
Original file line number Diff line number Diff line change @@ -71,11 +71,12 @@ for arg in sys.argv:
7171 if arg in ["-h" , "--help" ]:
7272 usage ()
7373
74- if (sys .argv [1 ] in ["-t" , "--testappimage" ]):
75- command = [os .path .dirname (__file__ ) + "/testappimage" ] + sys .argv [2 :]
76- print (command )
77- subprocess .call (command )
78- exit (0 )
74+ if len (sys .argv ) >= 2 :
75+ if (sys .argv [1 ] in ["-t" , "--testappimage" ]):
76+ command = [os .path .dirname (__file__ ) + "/testappimage" ] + sys .argv [2 :]
77+ print (command )
78+ subprocess .call (command )
79+ exit (0 )
7980
8081if len (sys .argv ) == (3 ):
8182 command = [os .path .dirname (__file__ ) + "/package" ] + sys .argv [1 :]
You can’t perform that action at this time.
0 commit comments