diff options
author | Aaron Griffin <aaronmgriffin@gmail.com> | 2007-10-02 06:08:29 +0200 |
---|---|---|
committer | Aaron Griffin <aaronmgriffin@gmail.com> | 2007-10-02 06:08:29 +0200 |
commit | c1efcc1204e73c7fe43007d3d4d3b65b173f657f (patch) | |
tree | f8c02172c9b962da2b57dbc6cb408a55de81aeae /checkpkg | |
parent | da6795515be9b2bcb209cf52a38ec7e025f04b95 (diff) | |
download | devtools-c1efcc1204e73c7fe43007d3d4d3b65b173f657f.tar.gz devtools-c1efcc1204e73c7fe43007d3d4d3b65b173f657f.tar.xz |
Sync package name checking for PKGDEST support
Not many changes here, most were already existing
checkpkg should fully support PKGDEST
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
Diffstat (limited to 'checkpkg')
-rw-r--r-- | checkpkg | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -19,12 +19,13 @@ oldstylepkgfile=${pkgname}-${pkgver}-${pkgrel}.pkg.tar.gz if [ ! -f $pkgfile ]; then if [ -f $PKGDEST/$pkgfile ]; then pkgfile=$PKGDEST/$pkgfile + oldstylepkgfile=$PKGDEST/$oldstylepkgfile elif [ -f $oldstylepkgfile ]; then pkgfile=$oldstylepkgfile elif [ -f $PKGDEST/$oldstylepkgfile ]; then pkgfile=$PKGDEST/$oldstylepkgfile else - echo "You must have a built package to check." + echo "File $pkgfile doesn't exist" exit 1 fi fi |