summaryrefslogtreecommitdiff
path: root/db-move
diff options
context:
space:
mode:
authorXavier Chantry <shiningxc@gmail.com>2009-09-06 21:36:42 +0200
committerAaron Griffin <aaronmgriffin@gmail.com>2009-09-18 13:19:58 -0700
commit7eccf95bb5d53cb1b4f8c1d363cd5645ca4e567e (patch)
treec71943bd009ba4f703011e4f808e1a597af7f447 /db-move
parentb36b754497df69778273f6a6e7b0d91679646565 (diff)
improve the way parse_pkgbuilds.sh is called
1) check the return value. before a failed call to parse_pkgbuilds.sh was completely silent.. not good :) 2) call realpath on check_packages.py before determining the directory name, to figure out where parse_pkgbuilds.sh is. This allows to symlink check_packages.py and use the symlink without moving parse_pkgbuilds.sh . for example : /foo/bar/ contains check_packages.py and parse_pkgbuilds.sh ln -s /foo/bar/check_packages.py /bin/check_package dirname(/bin/check_package) returns /bin/ so not good dirname(realpath(/bin/check_package)) returns /foo/bar/ so good Signed-off-by: Xavier Chantry <shiningxc@gmail.com> Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
Diffstat (limited to 'db-move')
0 files changed, 0 insertions, 0 deletions