Browse Source

fix running of Perl commands if no 'perl' package is installed

Ralf S. Engelschall 22 years ago
parent
commit
e1bd087f03
2 changed files with 2 additions and 2 deletions
  1. 1 1
      openpkg/openpkg.sh
  2. 1 1
      openpkg/openpkg.spec

+ 1 - 1
openpkg/openpkg.sh

@@ -214,7 +214,7 @@ for dir in $OPENPKG_TOOLS_CMDPATH; do
         if [ -x "$OPENPKG_PREFIX/bin/perl" ]; then
             cmd_shell="$OPENPKG_PREFIX/bin/perl"
         else
-            cmd_shell=`$OPENPKG_PREFIX/lib/openpkg/shtool -m perl 2>&1`
+            cmd_shell=`$OPENPKG_PREFIX/lib/openpkg/shtool path -m perl 2>&1`
             if [ ".$cmd_shell" = . ]; then
                 echo "openpkg:ERROR: No Perl interpreter found in \$PATH" 1>&2
                 exit 1

+ 1 - 1
openpkg/openpkg.spec

@@ -39,7 +39,7 @@
 #   o any cc(1)
 
 #   the package version/release
-%define       V_openpkg  20040218
+%define       V_openpkg  20040219
 
 #   the used software versions
 %define       V_rpm      4.2.1