fix commit message
authorDobrica Pavlinusic <dpavlin@rot13.org>
Mon, 9 Jul 2018 15:25:54 +0000 (17:25 +0200)
committerDobrica Pavlinusic <dpavlin@rot13.org>
Mon, 9 Jul 2018 15:25:54 +0000 (17:25 +0200)
sw-snmpbulkwalk.sh

index abdc908..4d1284c 100755 (executable)
@@ -14,5 +14,5 @@ if [ ! -z "$2" ] ; then
 fi
 
 ( test ! -z "$1" && echo $1 || ./sw-names ) | xargs -i sh -c \
-"snmpbulkwalk -OX -v2c -Cc -c $COMMUNITY {} $2 | tee $dir/$ext{} && test -z "$ext" && cd $dir && git add $dir/$ext{} && git commit -m $2 $dir/$ext{}" #| parallel 
+"snmpbulkwalk -OX -v2c -Cc -c $COMMUNITY {} $2 | tee $dir/$ext{} && test -z "$ext" && cd $dir && git add $dir/$ext{} && git commit -m {} $dir/$ext{}" #| parallel