Skip to content

Commit 66c676e

Browse files
committed
2 parents 66dbb66 + 5c9a89b commit 66c676e

File tree

2 files changed

+7
-6
lines changed

2 files changed

+7
-6
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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

AppImageAssistant.AppDir/AppImageAssistant

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff 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

8081
if len(sys.argv) == (3):
8182
command = [os.path.dirname(__file__) + "/package"] + sys.argv[1:]

0 commit comments

Comments
 (0)