Package: devscripts
Version: 2.10.49
Severity: normal

Using -d / --data-dir should either
 a) accept relative paths or
 b) mention in the manual page / help message that it accepts only 
 absolute paths

Not working example with relative path (or just directory name):
$ chdist -d "test" create jaunty
Now edit test/jaunty/etc/apt/sources.list
Then run chdist apt-get jaunty update
And enjoy.
$ cat test/jaunty/etc/apt/sources.list
cat: test/jaunty/etc/apt/sources.list: No such file or directory

Working example with absolute path:
$ chdist -d "$PWD/test" create jaunty
Now edit /home/tester/project/test/jaunty/etc/apt/sources.list
Then run chdist apt-get jaunty update
And enjoy.
$ cat /home/tester/project/test/jaunty/etc/apt/sources.list
#deb http://ftp.debian.org/debian/ unstable main contrib non-free
#deb-src http://ftp.debian.org/debian/ unstable main contrib non-free

#deb http://archive.ubuntu.com/ubuntu dapper main restricted
#deb http://archive.ubuntu.com/ubuntu dapper universe multiverse
#deb-src http://archive.ubuntu.com/ubuntu dapper main restricted
#deb-src http://archive.ubuntu.com/ubuntu dapper universe multiverse

Thank you!

-- Package-specific info:

--- /etc/devscripts.conf ---

--- ~/.devscripts ---
Not present

-- System Information:
Debian Release: 5.0
  APT prefers jaunty-updates
  APT policy: (500, 'jaunty-updates'), (500, 'jaunty-security'), (500, 'jaunty')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.28-11-generic (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to