openpreserve / scape-toolwrapper

SCAPE project for creating debian packages from command line tools.
http://openplanets.github.io/scape-toolwrapper
Apache License 2.0
5 stars 1 forks source link

Relative paths not accepted #4

Closed shsdev closed 10 years ago

shsdev commented 10 years ago

The toolwrapper does not allow usage of relative paths. The command below gives the usage message. It is only executed if the relative path prefixes "./" are replaced by the full path.

user@vmtoolwrapper:~$ ./scape-toolwrapper
/bin/generateDebianPackages4AllToolspecsWithComponents.sh ./scape-toolwrapper/developmentExamples/ ./scape-toolwrapper/ ./output/ my@email.com
[WARN] This script only aplies to toolspecs with 1 operation (as the others need extra parameters for Debian package generation.
Do you want to procede? [yN]
y
Usage: ./scape-toolwrapper/bin/generateDebianPackages4AllToolspecsWithComponents.sh TOOLSPECS_DIR|TOOLSPEC TOOLWRAPPER_BASE_DIR DEBIAN_OUTPUT_DIRECTORY MAINTAINER_EMAIL
    where:
      TOOLSPECS_DIR|TOOLSPEC            > path to the directory where the toolspecs are
                                          or absolute path to a specific toolspec
      TOOLWRAPPER_BASE_DIR              > path to the toolwrapper base directory
      DEBIAN_OUTPUT_DIRECTORY           > path to the directory where the Debian packages are going to be copied
      MAINTAINER_EMAIL                  > e-mail of the Debian package maintainer