diff --git a/loaih/__init__.py b/loaih/__init__.py index ae3ecf8..12b9154 100644 --- a/loaih/__init__.py +++ b/loaih/__init__.py @@ -193,7 +193,7 @@ class Build(object): os.chmod('appimagetool', 0o755) # Build the requested version. - if self.queried_name and not self.portable: + if self.queried_name: self.__unpackbuild__(arch, True) self.__unpackbuild__(arch) diff --git a/scripts/loaih-build b/scripts/loaih-build index 3b704b4..8139578 100644 --- a/scripts/loaih-build +++ b/scripts/loaih-build @@ -12,7 +12,7 @@ import loaih @click.option('-o/-O', '--offline-help/--no-offline-help', 'offline', default = False, help="Include or not the offline help for the chosen languages. Default: no offline help") @click.option('-p/-P', '--portable/--no-portable', 'portable', default = False, help="Create a portable version of the AppImage or not. Default: no portable") @click.option('-r', '--repo-path', 'repo_path', default = '/srv/http/appimage.sys42.eu', type=str, help="Path to the final storage of the AppImage. Default: /srv/http/appimage.sys42.eu") -@click.option('-s/-S', '--sign/--no-sign', 'sign', default=False, help="Wether to sign the build. Default: no-sign") +@click.option('-s/-S', '--sign/--no-sign', 'sign', default=False, help="Whether to sign the build. Default: no-sign") @click.option('-u/-U', '--updatable/--no-updatable', 'updatable', default = True, help="Create an updatable version of the AppImage or not. Default: updatable") @click.argument('query') def build(arch, language, offline, portable, updatable, download_path, repo_path, check, sign, query):