Skip to content

Commit

Permalink
it's UNDEFINED, not UNKNOWN...
Browse files Browse the repository at this point in the history
  • Loading branch information
mlschroe committed Apr 2, 2014
1 parent 1b4a3be commit ed0da3b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion build-pkg
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ pkg_autodetect_type() {

pkg_set_type() {
PSUF=`queryconfig binarytype --dist "$BUILD_DIST" --configdir "$CONFIG_DIR" --archpath "$BUILD_ARCH"`
test "$PSUF" = UNKNOWN && PSUF=
test "$PSUF" = UNDEFINED && PSUF=
case "$PSUF" in
rpm|deb|arch)
;;
Expand Down
2 changes: 1 addition & 1 deletion init_buildsystem
Original file line number Diff line number Diff line change
Expand Up @@ -280,7 +280,7 @@ create_cache_file() {
BINTYPE=
if test -n "$BUILD_DIST" ; then
BINTYPE=`queryconfig binarytype --dist "$BUILD_DIST" --configdir "$CONFIG_DIR" --archpath "$BUILD_ARCH"`
test "$BINTYPE" = UNKNOWN && BINTYPE=
test "$BINTYPE" = UNDEFINED && BINTYPE=
fi
for SRC in "${repos[@]}" -- ${BUILD_RPMS//:/ /}; do
if test "$SRC" = '--' ; then
Expand Down

0 comments on commit ed0da3b

Please sign in to comment.