github.com/mattdotmatt/gauge@v0.3.2-0.20160421115137-425a4cdccb62/build/install/macosx/scripts/timestamp_and_install_plugins.sh (about) 1 #!/bin/sh 2 3 # save timestamp of gauge.properties file 4 prefix=/usr/local 5 gaugePropertiesFile=$prefix/share/gauge/gauge.properties 6 timestamp_file=$prefix/share/gauge/timestamp.txt 7 8 rm $prefix/share/gauge/timestamp.txt 9 stat -f "%m" $gaugePropertiesFile > $prefix/share/gauge/timestamp.txt 10 11 # install default gauge plugins 12 sudo -u $USER /usr/local/bin/gauge --install html-report