VirtualBox

Changeset 63 in vbox


Ignore:
Timestamp:
Jan 16, 2007 1:53:26 PM (18 years ago)
Author:
vboxsync
Message:

configure: check for invalid characters

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/configure

    r24 r63  
    6565ENV="env.sh"
    6666BUILD_TYPE="release"
     67INVALID_CHARS="[+.$ ]"
     68
     69if pwd|grep -q "$INVALID_CHARS"; then
     70  echo "Error: Current path contains invalid characters!"
     71  exit 1
     72fi
    6773
    6874function cleanup()
     
    977983    --with-kbuild=*)
    978984      KBUILDDIR=`echo $option | cut -d'=' -f2`
     985      if echo $KBUILDDIR|grep -q "$INVALID_CHARS"; then
     986        echo "Error: KBUILDDIR contains invalid characters!"
     987        exit 1
     988      fi
    979989      ;;
    980990    --with-qt-dir=*)
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette