]> git.saurik.com Git - apple/configd.git/blobdiff - SystemConfiguration.fproj/restore-temporary-headers
configd-1061.0.2.tar.gz
[apple/configd.git] / SystemConfiguration.fproj / restore-temporary-headers
index 88657e15b85d68d6d4be7583927827aca1937cc7..fb1e9ba282bebcf9663d269438cde2a73a159f81 100755 (executable)
@@ -1,11 +1,11 @@
 #!/bin/sh
 
-if [ -z "${INSTALL_DIR}" -o -z "${PRIVATE_HEADERS_FOLDER_PATH}" ]; then
-       echo "Cannot update headers, missing ENV vars"
+if [ $# -lt 1 ]; then
+       echo "Cannot update headers, private header directory not specified"
        exit 1
 fi
 
-SPI_BASE="${INSTALL_DIR}/${PRIVATE_HEADERS_FOLDER_PATH}"
+SPI_BASE="${1}"
 
 for H in                               \
        DHCPClientPreferences.h         \