File tree Expand file tree Collapse file tree 1 file changed +11
-11
lines changed Expand file tree Collapse file tree 1 file changed +11
-11
lines changed Original file line number Diff line number Diff line change @@ -46,13 +46,14 @@ case "$with_nep" in
4646
4747 if [ " ${PACK_RUN} " = " __TRUE__" ]; then
4848 echo " --pack-run mode specified, skip installation"
49- else
50- echo " Installing from scratch into ${pkg_install_dir} "
51- [ -d $dirname ] && rm -rf $dirname
52- tar -xzf $filename
53- cd $dirname
49+ exit 0
50+ fi
51+ echo " Installing from scratch into ${pkg_install_dir} "
52+ [ -d $dirname ] && rm -rf $dirname
53+ tar -xzf $filename
54+ cd $dirname
5455
55- cat << EOF > Makefile
56+ cat << EOF > Makefile
5657CXX ?= g++
5758
5859# Compiler flags
@@ -93,12 +94,11 @@ install:
9394 cp src/nep.h \$ (PREFIX)/include/
9495EOF
9596
96- make > make.log 2>&1 || tail -n ${LOG_LINES} make.log
97- make PREFIX=" ${pkg_install_dir} " install > install.log 2>&1 || tail -n ${LOG_LINES} install.log
97+ make > make.log 2>&1 || tail -n ${LOG_LINES} make.log
98+ make PREFIX=" ${pkg_install_dir} " install > install.log 2>&1 || tail -n ${LOG_LINES} install.log
9899
99- cd ..
100- write_checksums " ${install_lock_file} " " ${SCRIPT_DIR} /stage4/$( basename ${SCRIPT_NAME} ) "
101- fi
100+ cd ..
101+ write_checksums " ${install_lock_file} " " ${SCRIPT_DIR} /stage4/$( basename ${SCRIPT_NAME} ) "
102102 fi
103103 NEP_CFLAGS=" -I'${pkg_install_dir} /include'"
104104 NEP_LDFLAGS=" -L'${pkg_install_dir} /lib' -Wl,-rpath,'${pkg_install_dir} /lib'"
You can’t perform that action at this time.
0 commit comments