13 lines
235 B
Bash
Executable File
13 lines
235 B
Bash
Executable File
#!/bin/sh
|
|
|
|
RELEASE_FILE=$(pwd)/everest-distinfo
|
|
if [ -f ${RELEASE_FILE} ]; then
|
|
source ${RELEASE_FILE}
|
|
else
|
|
printf "${RELEASE_FILE} does not exist.\n"
|
|
exit 1
|
|
fi
|
|
|
|
tar Jcfv ${1}
|
|
mv ${1}.tar.xz everestlinux-${VER}-${TARGET}-img.tar.xz
|