refactoring, more config, packaging
This commit is contained in:
7
package/replace_variable.sh
Executable file
7
package/replace_variable.sh
Executable file
@@ -0,0 +1,7 @@
|
||||
#!/bin/bash
|
||||
|
||||
INPUTFILE=$1
|
||||
VARIABLE_NAME=$2
|
||||
VARIABLE_VALUE=$3
|
||||
|
||||
sed -i "s/\$$VARIABLE_NAME/$VARIABLE_VALUE/g" "$INPUTFILE"
|
||||
Reference in New Issue
Block a user