summaryrefslogblamecommitdiff
path: root/extractGlad.sh
blob: 4a3aa793a2e656231eabb7b7af665858fdcfc4d6 (plain) (tree)




















                                                            
#!/bin/sh

echo extracting GLAD...

if ! [ -z "${1}" ]
then
	archive="${1}"
else
	archive="glad.zip"
fi

if ! [ -e "${archive}" ]
then
	echo "failure: unable to access file \"${archive}\""
	exit 1
fi

unzip -od"glad" "${archive}"
cp -v "glad.CMakeLists.txt" "glad/CMakeLists.txt"

echo success